From c226ea3f1f0faa17aa600734179cc1d67776e864 Mon Sep 17 00:00:00 2001 From: King <260090656@qq.com> Date: Mon, 20 May 2024 15:56:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=BC=80DEBUG=5FLOG?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF=20(#1922?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service-src/service_snlua.c | 1 + 1 file changed, 1 insertion(+) diff --git a/service-src/service_snlua.c b/service-src/service_snlua.c index 43dd9c58..462fea82 100644 --- a/service-src/service_snlua.c +++ b/service-src/service_snlua.c @@ -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);