Lines Matching refs:times
250 enum psi_aggregators aggregator, u32 *times, in get_recent_times() argument
265 memcpy(times, groupc->times, sizeof(groupc->times)); in get_recent_times()
283 times[s] += now - state_start; in get_recent_times()
285 delta = times[s] - groupc->times_prev[aggregator][s]; in get_recent_times()
286 groupc->times_prev[aggregator][s] = times[s]; in get_recent_times()
288 times[s] = delta; in get_recent_times()
333 u32 times[NR_PSI_STATES]; in collect_percpu_times() local
337 get_recent_times(group, cpu, aggregator, times, in collect_percpu_times()
341 nonidle = nsecs_to_jiffies(times[PSI_NONIDLE]); in collect_percpu_times()
345 deltas[s] += (u64)times[s] * nonidle; in collect_percpu_times()
663 groupc->times[PSI_IO_SOME] += delta; in record_times()
665 groupc->times[PSI_IO_FULL] += delta; in record_times()
669 groupc->times[PSI_MEM_SOME] += delta; in record_times()
671 groupc->times[PSI_MEM_FULL] += delta; in record_times()
675 groupc->times[PSI_CPU_SOME] += delta; in record_times()
677 groupc->times[PSI_CPU_FULL] += delta; in record_times()
681 groupc->times[PSI_NONIDLE] += delta; in record_times()