Lines Matching refs:prev
62 stats_cpu_t *prev; member
212 static ALWAYS_INLINE cputime_t overflow_safe_sub(cputime_t prev, cputime_t curr) in overflow_safe_sub() argument
214 cputime_t v = curr - prev; in overflow_safe_sub()
217 && prev <= 0xffffffff /* kernel uses 32bit value for the counter? */ in overflow_safe_sub()
226 static ALWAYS_INLINE cputime_t overflow_safe_sub(cputime_t prev, cputime_t curr) in overflow_safe_sub() argument
228 return curr - prev; in overflow_safe_sub()
232 static double percent_value(cputime_t prev, cputime_t curr, cputime_t itv) in percent_value() argument
234 return ((double)overflow_safe_sub(prev, curr)) / itv * 100; in percent_value()
239 cputime_t *p = stats->prev->vector; in print_stats_cpu_struct()
473 stats.prev = &stats_data[current_stats ^ 1]; in iostat_main()
484 stats.prev->vector[GLOBAL_UPTIME], in iostat_main()
501 stats.prev->vector[SMP_UPTIME], in iostat_main()