Closed wbjin closed 4 weeks ago
This is pull request is the first of a two part addition to extend ZeusMonitor to allow CPU energy consumption monitoring.
ZeusMonitor
A new cpu directory was added to devices that contains
get_cpus
CPUs
getTotalEnergyConsumption
CPU subpackage not implemented for now as I didn't know how ZeusMonitor would interact with it. Will be implemented in a later pull request.
Superseded by #90.
Description
This is pull request is the first of a two part addition to extend
ZeusMonitor
to allow CPU energy consumption monitoring.Additions
A new cpu directory was added to devices that contains
get_cpus
: Returns aCPUs
singleton monitoring object. Raises and error if unable to initialize the objectCPUs
: CPU monitoring object that exposesgetTotalEnergyConsumption
. Currently only supports Intel CPUs with RAPL support.Note
CPU subpackage not implemented for now as I didn't know how
ZeusMonitor
would interact with it. Will be implemented in a later pull request.