yanglimingcn commented on code in PR #3009: URL: https://github.com/apache/brpc/pull/3009#discussion_r2204727512
########## src/bthread/task_group.cpp: ########## @@ -292,7 +282,7 @@ int TaskGroup::init(size_t runqueue_capacity) { _cur_meta = m; _main_tid = m->tid; _main_stack = stk; - _last_run_ns = butil::cpuwide_time_ns(); + _cpu_time_stat.last_run_ns = -m->cpuwide_start_ns; Review Comment: why this is -m->cpuwide_start_ns ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org