| 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; |
nothing calls this directly
no test coverage detected