提交 e767f360 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

DepLibUV: change counter

上级 6cb65bab
...@@ -60,10 +60,10 @@ void DepLibUV::RunLoop() ...@@ -60,10 +60,10 @@ void DepLibUV::RunLoop()
// TODO: Move to inline in the .h file. // TODO: Move to inline in the .h file.
uint64_t DepLibUV::GetTime() uint64_t DepLibUV::GetTime()
{ {
static uint32_t maxTimeCounter = 2000; static uint32_t maxTimeCounter = 32768;
// TODO: Remove. // TODO: Remove.
if (DepLibUV::timeUpdateCounter == 0 && LAST_NOW != 0) if (DepLibUV::timeUpdateCounter == 0)
{ {
MS_DEBUG_DEV("now - LAST_NOW: %" PRIu64 "ms", uv_now(DepLibUV::loop) - LAST_NOW); MS_DEBUG_DEV("now - LAST_NOW: %" PRIu64 "ms", uv_now(DepLibUV::loop) - LAST_NOW);
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论