mammut::energy::JoulesCpu Class Reference
Represents the values that can be read from a Cpu energy counter. More...
#include <energy.hpp>
Public Member Functions | |
JoulesCpu (Joules cpu, Joules cores, Joules graphic, Joules dram) | |
void | zero () |
void | swap (JoulesCpu &x) |
JoulesCpu & | operator= (JoulesCpu rhs) |
JoulesCpu & | operator+= (const JoulesCpu &rhs) |
JoulesCpu & | operator-= (const JoulesCpu &rhs) |
JoulesCpu & | operator*= (const JoulesCpu &rhs) |
JoulesCpu & | operator/= (const JoulesCpu &rhs) |
JoulesCpu | operator/= (double x) |
JoulesCpu | operator*= (double x) |
Public Attributes | |
Joules | cpu |
Joules | cores |
Joules | graphic |
Joules | dram |
Friends | |
std::ostream & | operator<< (std::ostream &os, const JoulesCpu &obj) |
Detailed Description
Represents the values that can be read from a Cpu energy counter.
Member Function Documentation
|
inline |
Zeroes its content.
The documentation for this class was generated from the following file:
- /home/daniele/Code/Mammut/mammut/energy/energy.hpp