Skip to content

mfkiwl/powermon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

***** POWER MONITOR *****

INSTRUCTIONS:

  1. load msr module (for CPU readings) $ sudo modprobe msr

  2. make sure you have nvidia-ml (should be in ....../cuda/lib) and is reachable

  3. make

  4. sudo ./powermon interval-ms

  5. when terminating, it will display a summary of power and energy values.

NOTES:

  • Some CPUs are incompatible with msr readings.
  • On some CPUs, the DRAM value is not reachable and will give 0 Watts.
  • The CPU power value is for the whole chip. Currently (2020) msr rapl does not give per-core readings.
  • This tool includes code extracts from two other repositories:

About

power monitor library for Intel CPUs and Nvidia GPus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 92.8%
  • Cuda 5.5%
  • Makefile 1.7%