Lines Matching defs:user
58 virtual int getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle);
61 virtual int getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel);
64 virtual int getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle);
65 virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total);
130 uint64_t user, kernel, idle, total;
131 int rc = getRawHostCpuLoad(&user, &kernel, &idle);
134 total = user + kernel + idle;
194 int CollectorWin::getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle)
208 int CollectorWin::getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle)
223 *user = FILETTIME_TO_100NS(ftUser);
243 *user = *kernel = *idle = 0;
248 *user += sppi[i].UserTime.QuadPart;
252 LogFlowThisFunc(("user=%lu kernel=%lu idle=%lu\n", *user, *kernel, *idle));
312 int CollectorWin::getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel)
317 int CollectorWin::getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total)
326 *user = it->second.cpuUser;