MCPcopy Create free account
hub / github.com/apache/brpc / get_cumulated_cputime_from_this

Function get_cumulated_cputime_from_this

src/bthread/task_group.cpp:184–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184static double get_cumulated_cputime_from_this(void* arg) {
185 return static_cast<TaskGroup*>(arg)->cumulated_cputime_ns() / 1000000000.0;
186}
187
188int64_t TaskGroup::cumulated_cputime_ns() const {
189 CPUTimeStat cpu_time_stat = _cpu_time_stat.load();

Callers

nothing calls this directly

Calls 1

cumulated_cputime_nsMethod · 0.45

Tested by

no test coverage detected