PowerMeter¶
Constructor¶
|
PowerMeter is a general tool to monitor and log the power consumption of any given function. |
IO / conversion¶
|
Create a PowerMeter from a json config file. |
Measures¶
|
A decorator to measure the power consumption of a given function |
|
Measure the power usage using a with statement. |
|
Starts mesuring the power consumption of a given sample of code |
Stops the measure started with |