Lines Matching refs:MakeTime
69 double MakeTime(FILETIME const& kernel_time, FILETIME const& user_time) { in MakeTime() function
81 double MakeTime(struct rusage const& ru) {
89 double MakeTime(thread_basic_info_data_t const& info) { in MakeTime() function
97 double MakeTime(struct timespec const& ts) { in MakeTime() function
118 return MakeTime(kernel_time, user_time); in ProcessCPUUsage()
131 return MakeTime(spec); in ProcessCPUUsage()
135 if (getrusage(RUSAGE_SELF, &ru) == 0) return MakeTime(ru); in ProcessCPUUsage()
149 return MakeTime(kernel_time, user_time); in ThreadCPUUsage()
158 return MakeTime(info); in ThreadCPUUsage()
170 if (getrusage(RUSAGE_LWP, &ru) == 0) return MakeTime(ru); in ThreadCPUUsage()
174 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) == 0) return MakeTime(ts); in ThreadCPUUsage()