Lines Matching refs:energy
302 static int get_max_energy_counter(struct powercap_zone *pcd_dev, u64 *energy) in get_max_energy_counter() argument
306 *energy = rapl_unit_xlate(rd, ENERGY_UNIT, ENERGY_STATUS_MASK, 0); in get_max_energy_counter()
1922 RAPL_EVENT_ATTR_STR(energy-cores, rapl_cores, "event=0x01");
1923 RAPL_EVENT_ATTR_STR(energy-pkg, rapl_pkg, "event=0x02");
1924 RAPL_EVENT_ATTR_STR(energy-ram, rapl_ram, "event=0x03");
1925 RAPL_EVENT_ATTR_STR(energy-gpu, rapl_gpu, "event=0x04");
1926 RAPL_EVENT_ATTR_STR(energy-psys, rapl_psys, "event=0x05");
1928 RAPL_EVENT_ATTR_STR(energy-cores.unit, rapl_unit_cores, "Joules");
1929 RAPL_EVENT_ATTR_STR(energy-pkg.unit, rapl_unit_pkg, "Joules");
1930 RAPL_EVENT_ATTR_STR(energy-ram.unit, rapl_unit_ram, "Joules");
1931 RAPL_EVENT_ATTR_STR(energy-gpu.unit, rapl_unit_gpu, "Joules");
1932 RAPL_EVENT_ATTR_STR(energy-psys.unit, rapl_unit_psys, "Joules");
1934 RAPL_EVENT_ATTR_STR(energy-cores.scale, rapl_scale_cores, "2.3283064365386962890625e-10");
1935 RAPL_EVENT_ATTR_STR(energy-pkg.scale, rapl_scale_pkg, "2.3283064365386962890625e-10");
1936 RAPL_EVENT_ATTR_STR(energy-ram.scale, rapl_scale_ram, "2.3283064365386962890625e-10");
1937 RAPL_EVENT_ATTR_STR(energy-gpu.scale, rapl_scale_gpu, "2.3283064365386962890625e-10");
1938 RAPL_EVENT_ATTR_STR(energy-psys.scale, rapl_scale_psys, "2.3283064365386962890625e-10");