MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / ReadCpuTimerOfChoice

Method ReadCpuTimerOfChoice

deps/google-benchmark/src/thread_timer.h:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63 private:
64 double ReadCpuTimerOfChoice() const {
65 if (measure_process_cpu_time) return ProcessCPUUsage();
66 return ThreadCPUUsage();
67 }
68
69 // should the thread, or the process, time be measured?
70 const bool measure_process_cpu_time;

Callers

nothing calls this directly

Calls 2

ProcessCPUUsageFunction · 0.85
ThreadCPUUsageFunction · 0.85

Tested by

no test coverage detected