Lines Matching defs:do_rapl

253 unsigned int do_rapl;
459 if (do_rapl & RAPL_AMD_F17H)
519 return do_rapl & (RAPL_PKG | RAPL_AMD_F17H);
521 return do_rapl & RAPL_DRAM;
523 return do_rapl & RAPL_CORES_ENERGY_STATUS;
525 return do_rapl & RAPL_GFX;
527 return do_rapl & RAPL_PKG_PERF_STATUS;
529 return do_rapl & RAPL_DRAM_PERF_STATUS;
907 if (do_rapl && !rapl_joules) {
908 if (DO_BIC(BIC_CorWatt) && (do_rapl & RAPL_PER_CORE_ENERGY))
910 } else if (do_rapl && rapl_joules) {
911 if (DO_BIC(BIC_Cor_J) && (do_rapl & RAPL_PER_CORE_ENERGY))
969 if (do_rapl && !rapl_joules) {
972 if (DO_BIC(BIC_CorWatt) && !(do_rapl & RAPL_PER_CORE_ENERGY))
982 } else if (do_rapl && rapl_joules) {
985 if (DO_BIC(BIC_Cor_J) && !(do_rapl & RAPL_PER_CORE_ENERGY))
1287 if (DO_BIC(BIC_CorWatt) && (do_rapl & RAPL_PER_CORE_ENERGY))
1290 if (DO_BIC(BIC_Cor_J) && (do_rapl & RAPL_PER_CORE_ENERGY))
1355 if (DO_BIC(BIC_CorWatt) && !(do_rapl & RAPL_PER_CORE_ENERGY))
1367 if (DO_BIC(BIC_Cor_J) && !(do_rapl & RAPL_PER_CORE_ENERGY))
2215 if (do_rapl & RAPL_AMD_F17H) {
2280 if (do_rapl & RAPL_PKG) {
2285 if (do_rapl & RAPL_CORES_ENERGY_STATUS) {
2290 if (do_rapl & RAPL_DRAM) {
2295 if (do_rapl & RAPL_GFX) {
2300 if (do_rapl & RAPL_PKG_PERF_STATUS) {
2305 if (do_rapl & RAPL_DRAM_PERF_STATUS) {
2310 if (do_rapl & RAPL_AMD_F17H) {
4532 if (do_rapl & RAPL_PKG_POWER_INFO)
4590 do_rapl = RAPL_PKG | RAPL_CORES | RAPL_CORE_POLICY | RAPL_GFX | RAPL_PKG_POWER_INFO;
4603 do_rapl = RAPL_PKG | RAPL_PKG_POWER_INFO;
4610 do_rapl =
4626 do_rapl = RAPL_PKG | RAPL_PKG_PERF_STATUS | RAPL_PKG_POWER_INFO;
4635 do_rapl =
4658 do_rapl =
4673 do_rapl =
4690 do_rapl = RAPL_PKG | RAPL_CORES;
4700 do_rapl =
4762 do_rapl = RAPL_AMD_F17H | RAPL_PER_CORE_ENERGY;
4788 * sets do_rapl, rapl_power_units, rapl_energy_units, rapl_time_units
4921 if (!do_rapl)
4934 if (do_rapl & RAPL_AMD_F17H) {
4947 if (do_rapl & RAPL_PKG_POWER_INFO) {
4960 if (do_rapl & RAPL_PKG) {
4984 if (do_rapl & RAPL_DRAM_POWER_INFO) {
4995 if (do_rapl & RAPL_DRAM) {
5003 if (do_rapl & RAPL_CORE_POLICY) {
5009 if (do_rapl & RAPL_CORES_POWER_LIMIT) {
5016 if (do_rapl & RAPL_GFX) {