Home
last modified time | relevance | path

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

/linux-6.12.1/tools/power/cpupower/utils/
Dpowercap-info.c57 struct powercap_zone *root_zone; in powercap_show() local
77 root_zone = powercap_init_zones(); in powercap_show()
79 if (root_zone == NULL) { in powercap_show()
84 powercap_walk_zones(root_zone, powercap_print_one_zone); in powercap_show()
/linux-6.12.1/tools/power/cpupower/utils/idle_monitor/
Drapl_monitor.c104 struct powercap_zone *root_zone; in rapl_register() local
124 root_zone = powercap_init_zones(); in rapl_register()
126 if (root_zone == NULL) { in rapl_register()
131 powercap_walk_zones(root_zone, powercap_count_zones); in rapl_register()
/linux-6.12.1/tools/power/cpupower/lib/
Dpowercap.c265 struct powercap_zone *root_zone; in powercap_init_zones() local
277 root_zone = calloc(1, sizeof(struct powercap_zone)); in powercap_init_zones()
278 if (!root_zone) in powercap_init_zones()
281 strcpy(root_zone->sys_name, "intel-rapl/intel-rapl:0"); in powercap_init_zones()
283 powercap_read_zone(root_zone); in powercap_init_zones()
285 return root_zone; in powercap_init_zones()