Lines Matching refs:diff

252   cpu_states_t diff;  in calc_cpu_util_internal()  local
278 diff.user = in calc_cpu_util_internal()
280 diff.nice = in calc_cpu_util_internal()
282 diff.sys = in calc_cpu_util_internal()
284 diff.idle = in calc_cpu_util_internal()
286 diff.iowait = in calc_cpu_util_internal()
288 diff.hard_irq = in calc_cpu_util_internal()
290 diff.soft_irq = in calc_cpu_util_internal()
292 diff.steal = in calc_cpu_util_internal()
294 diff.guest = in calc_cpu_util_internal()
296 diff.guest_nice = in calc_cpu_util_internal()
298 total_ticks = diff.user + diff.nice + diff.sys + diff.idle + diff.iowait in calc_cpu_util_internal()
299 + diff.hard_irq + diff.soft_irq + diff.steal in calc_cpu_util_internal()
300 + diff.guest + diff.guest_nice; in calc_cpu_util_internal()
311 lib_local_per_cpu_util[i] = 100. - CPU_STAT_PERCENTIZE(diff.idle); in calc_cpu_util_internal()
313 lib_local_cpu_stats.cpu_user += CPU_STAT_PERCENTIZE(diff.user); in calc_cpu_util_internal()
314 lib_local_cpu_stats.cpu_system += CPU_STAT_PERCENTIZE(diff.sys); in calc_cpu_util_internal()
315 lib_local_cpu_stats.cpu_iowait += CPU_STAT_PERCENTIZE(diff.iowait); in calc_cpu_util_internal()
316 lib_local_cpu_stats.cpu_irq += CPU_STAT_PERCENTIZE(diff.hard_irq); in calc_cpu_util_internal()
317 lib_local_cpu_stats.cpu_swintr += CPU_STAT_PERCENTIZE(diff.soft_irq); in calc_cpu_util_internal()
326 (unsigned long long)diff.user, in calc_cpu_util_internal()
327 (unsigned long long)diff.nice, in calc_cpu_util_internal()
328 (unsigned long long)diff.sys, in calc_cpu_util_internal()
329 (unsigned long long)diff.idle, in calc_cpu_util_internal()
330 (unsigned long long)diff.iowait, in calc_cpu_util_internal()
331 (unsigned long long)diff.hard_irq, in calc_cpu_util_internal()
332 (unsigned long long)diff.soft_irq, in calc_cpu_util_internal()
333 (unsigned long long)diff.steal, in calc_cpu_util_internal()
334 (unsigned long long)diff.guest, in calc_cpu_util_internal()