Searched refs:usertime (Results 1 – 3 of 3) sorted by relevance
68 double totaltime = 0.0f, usertime = 0.0f, systime = 0.0f; in main() local223 usertime = (after_self.ru_utime.tv_sec + in main()229 usertime -= (before_self.ru_utime.tv_sec + in main()247 printf("%.1lf%% User Time\n", 100 * usertime / totaltime); in main()249 printf("%.1f%% CPU Utilization\n", 100 * (usertime + systime) / in main()
134 usertime = ctypes.c_ulonglong()140 ctypes.byref(usertime))143 return (usertime.value / WIN32_PROCESS_TIMES_TICKS_PER_SECOND,
441 uint64_t usertime; in GetUserTime() local445 reinterpret_cast<FILETIME*>(&usertime))) return -1; in GetUserTime()448 usertime /= 10; in GetUserTime()451 *secs = static_cast<uint32_t>(usertime / 1000000); in GetUserTime()452 *usecs = static_cast<uint32_t>(usertime % 1000000); in GetUserTime()