Searched refs:kernel_time (Results 1 – 4 of 4) sorted by relevance
/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | timers.cc | 69 double MakeTime(FILETIME const& kernel_time, FILETIME const& user_time) { in MakeTime() argument 72 kernel.HighPart = kernel_time.dwHighDateTime; in MakeTime() 73 kernel.LowPart = kernel_time.dwLowDateTime; in MakeTime() 114 FILETIME kernel_time; in ProcessCPUUsage() local 116 if (GetProcessTimes(proc, &creation_time, &exit_time, &kernel_time, in ProcessCPUUsage() 118 return MakeTime(kernel_time, user_time); in ProcessCPUUsage() 145 FILETIME kernel_time; in ThreadCPUUsage() local 147 GetThreadTimes(this_thread, &creation_time, &exit_time, &kernel_time, in ThreadCPUUsage() 149 return MakeTime(kernel_time, user_time); in ThreadCPUUsage()
|
/third_party/benchmark/src/ |
D | timers.cc | 71 double MakeTime(FILETIME const& kernel_time, FILETIME const& user_time) { in MakeTime() argument 74 kernel.HighPart = kernel_time.dwHighDateTime; in MakeTime() 75 kernel.LowPart = kernel_time.dwLowDateTime; in MakeTime() 116 FILETIME kernel_time; in ProcessCPUUsage() local 118 if (GetProcessTimes(proc, &creation_time, &exit_time, &kernel_time, in ProcessCPUUsage() 120 return MakeTime(kernel_time, user_time); in ProcessCPUUsage() 147 FILETIME kernel_time; in ThreadCPUUsage() local 149 GetThreadTimes(this_thread, &creation_time, &exit_time, &kernel_time, in ThreadCPUUsage() 151 return MakeTime(kernel_time, user_time); in ThreadCPUUsage()
|
/third_party/python/Modules/ |
D | timemodule.c | 1188 FILETIME creation_time, exit_time, kernel_time, user_time; local 1195 &kernel_time, &user_time); 1208 large.u.LowPart = kernel_time.dwLowDateTime; 1209 large.u.HighPart = kernel_time.dwHighDateTime; 1381 FILETIME creation_time, exit_time, kernel_time, user_time; local 1388 &kernel_time, &user_time); 1401 large.u.LowPart = kernel_time.dwLowDateTime; 1402 large.u.HighPart = kernel_time.dwHighDateTime;
|
/third_party/ninja/src/ |
D | util.cc | 544 FILETIME idle_time, kernel_time, user_time; in GetLoadAverage() local 546 GetSystemTimes(&idle_time, &kernel_time, &user_time); in GetLoadAverage() 554 FileTimeToTickCount(kernel_time) + FileTimeToTickCount(user_time); in GetLoadAverage()
|