pyJoules
stable
About
Usage
Decorator
Context manager
Manual usage
Handlers
Devices
API
pyJoules
Docs
»
Usage
Edit on GitHub
Usage
¶
Decorator
Decorate a function to measure its energy consumption
Configure the decorator specifying the device to monitor
Configure the output of the decorator
Context manager
Use a context manager to add tagged “breakpoint” in your measurement
Manual usage
Use a EnergyMeter to measure energy consumption without decorator or context manager
Create the EnergyMeter
Use the EnergyMeter
Get the EnergyTrace
Full Example
Read the Docs
v: stable
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.