diff options
| author | yangwei <[email protected]> | 2023-12-25 11:26:46 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-12-28 17:41:12 +0800 |
| commit | a7771c38637bdb9901cca1301acb187f79ce8529 (patch) | |
| tree | c31dd48ef7149da05ae2fba7fe03448451f84b52 /src/dealpkt/plug_support.c | |
| parent | f06d751d0f017986920d7c3b3f0f9609c3b0a88c (diff) | |
🎈 perf(timeout precision): from s to ms
Diffstat (limited to 'src/dealpkt/plug_support.c')
| -rw-r--r-- | src/dealpkt/plug_support.c | 2 |
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;
|
