summaryrefslogtreecommitdiff
path: root/src/dealpkt/plug_support.c
diff options
context:
space:
mode:
authoryangwei <[email protected]>2023-12-25 11:26:46 +0800
committeryangwei <[email protected]>2023-12-28 17:41:12 +0800
commita7771c38637bdb9901cca1301acb187f79ce8529 (patch)
treec31dd48ef7149da05ae2fba7fe03448451f84b52 /src/dealpkt/plug_support.c
parentf06d751d0f017986920d7c3b3f0f9609c3b0a88c (diff)
🎈 perf(timeout precision): from s to ms
Diffstat (limited to 'src/dealpkt/plug_support.c')
-rw-r--r--src/dealpkt/plug_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dealpkt/plug_support.c b/src/dealpkt/plug_support.c
index b699822..2753fc3 100644
--- a/src/dealpkt/plug_support.c
+++ b/src/dealpkt/plug_support.c
@@ -1001,7 +1001,7 @@ int MESA_set_stream_opt(const struct streaminfo *pstream, enum MESA_stream_opt o
timeout_init(&funinfo->timeout, TIMEOUT_ABS);
G_MESA_GLOBAL_STREAM[pstream->threadnum]->user_define_timer_cnt+=1;
}
- timeouts_add(G_MESA_GLOBAL_STREAM[pstream->threadnum]->user_define_timer, &funinfo->timeout, set_timer_s+g_CurrentTime);
+ timeouts_add(G_MESA_GLOBAL_STREAM[pstream->threadnum]->user_define_timer, &funinfo->timeout, set_timer_s*1000+g_CurrentTime_ms);
ret = 0;
}
break;