rapl_raw_to_uj
*v = rapl_raw_to_uj(rapl_sample_row(cpu, ri), rapl_events[ri].re_unit);
max_energy_uj = rapl_raw_to_uj(UINT32_MAX, shift);