mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
修复打开DEBUG_LOG时,编译错误 (#1922)
This commit is contained in:
@@ -188,6 +188,7 @@ timing_resume(lua_State *L, int co_index, int n) {
|
||||
if (timing_enable(L, co_index, &start_time)) {
|
||||
start_time = get_time();
|
||||
#ifdef DEBUG_LOG
|
||||
double ti = diff_time(start_time);
|
||||
fprintf(stderr, "PROFILE [%p] resume %lf\n", co, ti);
|
||||
#endif
|
||||
lua_pushvalue(L, co_index);
|
||||
|
||||
Reference in New Issue
Block a user