Searched refs:time_in_state (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/cpufreq/ |
D | cpufreq_stats.c | 21 u64 *time_in_state; member 35 stats->time_in_state[stats->last_index] += cur_time - time; in cpufreq_stats_update() 43 memset(stats->time_in_state, 0, count * sizeof(u64)); in cpufreq_stats_reset_table() 90 time = stats->time_in_state[i]; in show_time_in_state() 100 cpufreq_freq_attr_ro(time_in_state); 177 &time_in_state.attr, 207 kfree(stats->time_in_state); in cpufreq_stats_free_table() 236 stats->time_in_state = kzalloc(alloc_size, GFP_KERNEL); in cpufreq_stats_create_table() 237 if (!stats->time_in_state) in cpufreq_stats_create_table() 240 stats->freq_table = (unsigned int *)(stats->time_in_state + count); in cpufreq_stats_create_table() [all …]
|
/linux-6.1.9/Documentation/translations/zh_CN/cpu-freq/ |
D | cpufreq-stats.rst | 48 - time_in_state 62 -r--r--r-- 1 root root 4096 May 14 16:06 time_in_state 71 - **time_in_state** 79 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state 131 time_in_state、total_trans和trans_table的统计数据。
|
/linux-6.1.9/Documentation/translations/zh_TW/cpu-freq/ |
D | cpufreq-stats.rst | 46 - time_in_state 60 -r--r--r-- 1 root root 4096 May 14 16:06 time_in_state 69 - **time_in_state** 77 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state 129 time_in_state、total_trans和trans_table的統計數據。
|
/linux-6.1.9/Documentation/cpu-freq/ |
D | cpufreq-stats.rst | 37 - time_in_state 53 -r--r--r-- 1 root root 4096 May 14 16:06 time_in_state 63 - **time_in_state** 73 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state 133 statistics which includes time_in_state, total_trans and trans_table.
|
/linux-6.1.9/drivers/thermal/ |
D | thermal_sysfs.c | 666 ktime_t *time_in_state; member 675 stats->time_in_state[stats->state] = in update_time_in_state() 676 ktime_add(stats->time_in_state[stats->state], delta); in update_time_in_state() 730 ktime_to_ms(stats->time_in_state[i])); in time_in_state_ms_show() 753 stats->time_in_state[i] = ktime_set(0, 0); in reset_store() 835 var += sizeof(*stats->time_in_state) * states; in cooling_device_stats_setup() 842 stats->time_in_state = (ktime_t *)(stats + 1); in cooling_device_stats_setup() 843 stats->trans_table = (unsigned int *)(stats->time_in_state + states); in cooling_device_stats_setup()
|
/linux-6.1.9/tools/power/cpupower/lib/ |
D | cpufreq.h | 38 unsigned long long time_in_state; member
|
D | cpufreq.c | 748 ¤t->time_in_state) != 2) in cpufreq_get_stats() 751 *total_time = *total_time + current->time_in_state; in cpufreq_get_stats()
|
/linux-6.1.9/drivers/devfreq/ |
D | devfreq.c | 234 devfreq->stats.time_in_state[prev_lev] += in devfreq_update_status() 884 devfreq->stats.time_in_state = devm_kcalloc(&devfreq->dev, in devfreq_add_device() 886 sizeof(*devfreq->stats.time_in_state), in devfreq_add_device() 888 if (!devfreq->stats.time_in_state) { in devfreq_add_device() 1728 jiffies64_to_msecs(df->stats.time_in_state[i])); in trans_stat_show() 1754 memset(df->stats.time_in_state, 0, (df->max_state * in trans_stat_store() 1755 sizeof(*df->stats.time_in_state))); in trans_stat_store()
|
/linux-6.1.9/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 407 (100.0 * stats->time_in_state) / total_time); in get_freq_stats() 410 stats->frequency, stats->time_in_state); in get_freq_stats()
|
/linux-6.1.9/include/linux/ |
D | devfreq.h | 133 u64 *time_in_state; member
|