Lines Matching refs:systemTicks
78 uint64_t userTicks, niceTicks, systemTicks, idleTicks;
86 &userTicks, &niceTicks, &systemTicks, &idleTicks);
95 if (fscanf(fh, "cpu%*d " DEC_64 " " DEC_64 " " DEC_64 " " DEC_64, &userTicks, &niceTicks, &systemTicks, &idleTicks) != 4) {
102 &userTicks, &niceTicks, &systemTicks, &idleTicks);
111 pticks->usedKernel = systemTicks;
112 pticks->total = userTicks + niceTicks + systemTicks + idleTicks;
158 static int read_ticks(const char *procfile, uint64_t *userTicks, uint64_t *systemTicks) {
160 userTicks, systemTicks
170 uint64_t systemTicks;
172 if (read_ticks("/proc/self/stat", &userTicks, &systemTicks) < 0) {
182 pticks->usedKernel = systemTicks;