Lines Matching defs:idle
58 virtual int getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle);
64 virtual int getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle);
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)
224 *idle = FILETTIME_TO_100NS(ftIdle);
225 *kernel = FILETTIME_TO_100NS(ftKernel) - *idle;
243 *user = *kernel = *idle = 0;
246 *idle += sppi[i].IdleTime.QuadPart;
252 LogFlowThisFunc(("user=%lu kernel=%lu idle=%lu\n", *user, *kernel, *idle));