Searched refs:time_in_state (Results 1 – 8 of 8) sorted by relevance
21 u64 *time_in_state; member31 stats->time_in_state[stats->last_index] += cur_time - stats->last_time; in cpufreq_stats_update()40 memset(stats->time_in_state, 0, count * sizeof(u64)); in cpufreq_stats_clear_table()69 jiffies_64_to_clock_t(stats->time_in_state[i])); in show_time_in_state()73 cpufreq_freq_attr_ro(time_in_state);134 &time_in_state.attr,164 kfree(stats->time_in_state); in cpufreq_stats_free_table()193 stats->time_in_state = kzalloc(alloc_size, GFP_KERNEL); in cpufreq_stats_create_table()194 if (!stats->time_in_state) in cpufreq_stats_create_table()197 stats->freq_table = (unsigned int *)(stats->time_in_state + count); in cpufreq_stats_create_table()[all …]
33 - time_in_state48 -r--r--r-- 1 root root 4096 May 14 16:06 time_in_state58 - time_in_state66 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state 124 statistics which includes time_in_state, total_trans and trans_table.
754 ktime_t *time_in_state; member763 stats->time_in_state[stats->state] = in update_time_in_state()764 ktime_add(stats->time_in_state[stats->state], delta); in update_time_in_state()815 ktime_to_ms(stats->time_in_state[i])); in time_in_state_ms_show()838 stats->time_in_state[i] = ktime_set(0, 0); in reset_store()919 var += sizeof(*stats->time_in_state) * states; in cooling_device_stats_setup()926 stats->time_in_state = (ktime_t *)(stats + 1); in cooling_device_stats_setup()927 stats->trans_table = (unsigned int *)(stats->time_in_state + states); in cooling_device_stats_setup()
38 unsigned long long time_in_state; member
681 ¤t->time_in_state) != 2) in cpufreq_get_stats()684 *total_time = *total_time + current->time_in_state; in cpufreq_get_stats()
442 (100.0 * stats->time_in_state) / total_time); in get_freq_stats()445 stats->frequency, stats->time_in_state); in get_freq_stats()
177 unsigned long *time_in_state; member
175 devfreq->time_in_state[prev_lev] += in devfreq_update_status()699 devfreq->time_in_state = devm_kcalloc(&devfreq->dev, in devfreq_add_device()703 if (!devfreq->time_in_state) { in devfreq_add_device()1427 jiffies_to_msecs(devfreq->time_in_state[i])); in trans_stat_show()