Home
last modified time | relevance | path

Searched refs:cpu_pow (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/powertop/common/
H A Dcpufreq.c341 cpu_power_info_t *cpu_pow; in pt_cpufreq_stat_account() local
346 cpu_pow = &g_cpu_power_states[cpu]; in pt_cpufreq_stat_account()
347 speed = cpu_pow->current_pstate; in pt_cpufreq_stat_account()
349 duration = (hrtime_t)(interval * NANOSEC) - cpu_pow->dtrace_time; in pt_cpufreq_stat_account()
362 cpu_pow->time_accounted += duration; in pt_cpufreq_stat_account()
363 cpu_pow->speed_accounted = speed; in pt_cpufreq_stat_account()