zeus icon indicating copy to clipboard operation
zeus copied to clipboard

RAPL energy reading wrap around.

Open wbjin opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Currently, there is no way to handle when measurements exceed max_energy_range_uj for RAPL multiple times. Consider the scenario where start_window measures the energy consumption at 60J. The energy consumption reading in the energy_uj files could exceed max_energy_range_uj and wrap around however many times and there would be no way to get the correct measurement when that happens.

Describe the solution you'd like Readings of the energy_uj file can be made periodically and the number of times self.last_enrergy is less than the reading from the energy_uj file can be recorded.

wbjin avatar Jun 07 '24 19:06 wbjin