Searched refs:ENERGY_UNIT_SCALE (Results 1 – 1 of 1) sorted by relevance
93 #define ENERGY_UNIT_SCALE 1000 /* scale from driver unit to powercap unit */ macro620 scale = ENERGY_UNIT_SCALE; in rapl_unit_xlate()926 rd->energy_unit = ENERGY_UNIT_SCALE * 1000000 / (1 << value); in rapl_check_unit_core()954 rd->energy_unit = ENERGY_UNIT_SCALE * 1 << value; in rapl_check_unit_atom()1141 rd->energy_unit = ENERGY_UNIT_SCALE * 1000000 / (1 << value); in rapl_check_unit_tpmi()