Home
last modified time | relevance | path

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

/linux-6.12.1/tools/power/cpupower/utils/idle_monitor/
Drapl_monitor.c72 uint64_t uj_val; in rapl_start() local
75 ret = powercap_get_energy_uj(rapl_zones_pt[i], &uj_val); in rapl_start()
78 rapl_zone_previous_count[i] = uj_val; in rapl_start()
87 uint64_t uj_val; in rapl_stop() local
92 ret = powercap_get_energy_uj(rapl_zones_pt[i], &uj_val); in rapl_stop()
95 rapl_zone_current_count[i] = uj_val; in rapl_stop()
96 if (rapl_max_count < uj_val) in rapl_stop()
97 rapl_max_count = uj_val - rapl_zone_previous_count[i]; in rapl_stop()