diff --git a/src/util/src/ttimer.c b/src/util/src/ttimer.c index 68db574d82..55e7da3258 100644 --- a/src/util/src/ttimer.c +++ b/src/util/src/ttimer.c @@ -342,6 +342,7 @@ static void taosTimerLoopFunc(int signo) { int64_t now = taosGetTimestampMs(); for (int i = 0; i < tListLen(wheels); i++) { + tmrTrace("begin processing wheel %d", i); // `expried` is a temporary expire list. // expired timers are first add to this list, then move // to expired queue as a batch to improve performance. @@ -389,6 +390,7 @@ static void taosTimerLoopFunc(int signo) { } addToExpired(expired); + tmrTrace("end processing wheel %d", i); } }