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

Merge branch 'master' into webrtc-client-reoffer

# Conflicts:
#	worker/src/DepLibUV.cpp
......@@ -123,8 +123,8 @@ public:
} \
while (0)
#else
#define MS_TRACE()
#define MS_TRACE_STD()
#define MS_TRACE() ;
#define MS_TRACE_STD() ;
#endif
#define MS_DEBUG_TAG(tag, desc, ...) \
......@@ -260,10 +260,10 @@ public:
} \
while (0)
#else
#define MS_DEBUG_DEV(desc, ...)
#define MS_DEBUG_DEV_STD(desc, ...)
#define MS_WARN_DEV(desc, ...)
#define MS_WARN_DEV_STD(desc, ...)
#define MS_DEBUG_DEV(desc, ...) ;
#define MS_DEBUG_DEV_STD(desc, ...) ;
#define MS_WARN_DEV(desc, ...) ;
#define MS_WARN_DEV_STD(desc, ...) ;
#endif
#define MS_ERROR(desc, ...) \
......
#define MS_CLASS "DepLibUV"
#define MS_LOG_DEV
// #define MS_LOG_DEV
#include "DepLibUV.h"
#include "Logger.h"
......@@ -64,7 +64,9 @@ uint64_t DepLibUV::GetTime()
// TODO: Remove.
if (DepLibUV::timeUpdateCounter == 0 && LAST_NOW != 0)
{
MS_DEBUG_DEV("now - LAST_NOW: %" PRIu64 "ms", uv_now(DepLibUV::loop) - LAST_NOW);
}
// Update the libuv's concept of “now” every N usages.
if (++DepLibUV::timeUpdateCounter == maxTimeCounter)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论