Intel(r) Performance Counter Monitor
|
Basic uncore counter state. More...
#include <cpucounters.h>
Public Member Functions | |
UncoreCounterState & | operator+= (const UncoreCounterState &o) |
Protected Member Functions | |
void | readAndAggregate (SafeMsrHandle *) |
Protected Attributes | |
uint64 | UncMCFullWrites |
uint64 | UncMCNormalReads |
uint64 | UncMCIORequests |
uint64 | PackageEnergyStatus |
uint64 | DRAMEnergyStatus |
uint64 | CStateResidency [PCM::MAX_C_STATE+1] |
Friends | |
class | PCM |
template<class CounterStateType > | |
uint64 | getBytesReadFromMC (const CounterStateType &before, const CounterStateType &after) |
Computes number of bytes read from DRAM memory controllers. More... | |
template<class CounterStateType > | |
uint64 | getBytesWrittenToMC (const CounterStateType &before, const CounterStateType &after) |
Computes number of bytes written to DRAM memory controllers. More... | |
template<class CounterStateType > | |
uint64 | getIORequestBytesFromMC (const CounterStateType &before, const CounterStateType &after) |
Computes number of bytes of read/write requests from all IO sources. More... | |
template<class CounterStateType > | |
uint64 | getConsumedEnergy (const CounterStateType &before, const CounterStateType &after) |
Returns energy consumed by processor, exclusing DRAM (measured in internal units) More... | |
template<class CounterStateType > | |
uint64 | getDRAMConsumedEnergy (const CounterStateType &before, const CounterStateType &after) |
Returns energy consumed by DRAM (measured in internal units) More... | |
template<class CounterStateType > | |
double | getPackageCStateResidency (int state, const CounterStateType &before, const CounterStateType &after) |
Computes residency in the package C-state. More... | |
Basic uncore counter state.
Intended only for derivation, but not for the direct use
|
friend |
Computes number of bytes read from DRAM memory controllers.
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Computes number of bytes written to DRAM memory controllers.
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Returns energy consumed by processor, exclusing DRAM (measured in internal units)
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Returns energy consumed by DRAM (measured in internal units)
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Computes number of bytes of read/write requests from all IO sources.
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Computes residency in the package C-state.
state | C-state |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |