Skip to content

WattAMeter v0.6.0

Choose a tag to compare

@weslleyspereira weslleyspereira released this 09 Sep 20:27
· 128 commits to main since this release
  • Add new trackers that currently only reads data from RAPL and PyNVML.

    • Reader: class that reads data from a stream. For instance, RAPLReader and NVMLReader.
    • Tracker: class that has a single reader. Reads and writes occur at regular times.
    • TrackerArray: AS the name says, this is an array of trackers. Each tracker reads and writes data in the same event. However, each tracker still has its own file to store data.
  • The main.py script now refers to a TrackerArray that uses NVMLReader and RAPLReader. The script main_codecarbon.py is kept but may be discontinued in the future.

  • wattameter.sh and wattawait.sh scripts now work with the new trackers. Mind that the interface of main.py and main_codecarbon.py are currently very similar, so it would be easy to change the bash scripts to use main_codecarbon.py instead of main.py.

  • WattAWait.sh now uses more reliable information. The previous implementation was buggy.