Lines Matching full:energy
3 * Support Intel/AMD RAPL energy consumption counters
12 * RAPL provides more controls than just reporting energy consumption
13 * however here we only expose the 3 energy consumption free running
71 MODULE_DESCRIPTION("Support Intel/AMD RAPL energy consumption counters");
75 * RAPL energy status counters
117 * RAPL Package energy counter scope:
118 * 1. AMD/HYGON platforms have a per-PKG package energy counter
434 RAPL_EVENT_ATTR_STR(energy-cores, rapl_cores, "event=0x01");
435 RAPL_EVENT_ATTR_STR(energy-pkg , rapl_pkg, "event=0x02");
436 RAPL_EVENT_ATTR_STR(energy-ram , rapl_ram, "event=0x03");
437 RAPL_EVENT_ATTR_STR(energy-gpu , rapl_gpu, "event=0x04");
438 RAPL_EVENT_ATTR_STR(energy-psys, rapl_psys, "event=0x05");
439 RAPL_EVENT_ATTR_STR(energy-core, rapl_core, "event=0x01");
441 RAPL_EVENT_ATTR_STR(energy-cores.unit, rapl_cores_unit, "Joules");
442 RAPL_EVENT_ATTR_STR(energy-pkg.unit , rapl_pkg_unit, "Joules");
443 RAPL_EVENT_ATTR_STR(energy-ram.unit , rapl_ram_unit, "Joules");
444 RAPL_EVENT_ATTR_STR(energy-gpu.unit , rapl_gpu_unit, "Joules");
445 RAPL_EVENT_ATTR_STR(energy-psys.unit, rapl_psys_unit, "Joules");
446 RAPL_EVENT_ATTR_STR(energy-core.unit, rapl_core_unit, "Joules");
451 RAPL_EVENT_ATTR_STR(energy-cores.scale, rapl_cores_scale, "2.3283064365386962890625e-10");
452 RAPL_EVENT_ATTR_STR(energy-pkg.scale, rapl_pkg_scale, "2.3283064365386962890625e-10");
453 RAPL_EVENT_ATTR_STR(energy-ram.scale, rapl_ram_scale, "2.3283064365386962890625e-10");
454 RAPL_EVENT_ATTR_STR(energy-gpu.scale, rapl_gpu_scale, "2.3283064365386962890625e-10");
455 RAPL_EVENT_ATTR_STR(energy-psys.scale, rapl_psys_scale, "2.3283064365386962890625e-10");
456 RAPL_EVENT_ATTR_STR(energy-core.scale, rapl_core_scale, "2.3283064365386962890625e-10");
572 /* Only lower 32bits of the MSR represents the energy counter */
624 * DRAM domain on HSW server and KNL has fixed energy unit which can be in rapl_check_hw_unit()
632 /* SPR uses a fixed energy unit for Psys domain. */ in rapl_check_hw_unit()