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
Next Previous

© Copyright 2019, INRIA, University of Lille Revision cb33aed0.

Built with Sphinx using a theme provided by Read the Docs.