Intel(r) Performance Counter Monitor
|
Server uncore power counter state. More...
#include <cpucounters.h>
Public Member Functions | |
int32 | getPackageThermalHeadroom () const |
Returns current thermal headroom below TjMax. | |
Public Member Functions inherited from UncoreCounterState | |
UncoreCounterState & | operator+= (const UncoreCounterState &o) |
Friends | |
class | PCM |
template<class CounterStateType > | |
uint64 | getQPIClocks (uint32 port, const CounterStateType &before, const CounterStateType &after) |
Returns QPI LL clock ticks. More... | |
template<class CounterStateType > | |
uint64 | getQPIL0pTxCycles (uint32 port, const CounterStateType &before, const CounterStateType &after) |
Returns the number of QPI cycles in power saving half-lane mode. More... | |
template<class CounterStateType > | |
uint64 | getQPIL1Cycles (uint32 port, const CounterStateType &before, const CounterStateType &after) |
Returns the number of QPI cycles in power saving shutdown mode. More... | |
template<class CounterStateType > | |
uint64 | getDRAMClocks (uint32 channel, const CounterStateType &before, const CounterStateType &after) |
Returns DRAM clock ticks. More... | |
template<class CounterStateType > | |
uint64 | getMCCounter (uint32 channel, uint32 counter, const CounterStateType &before, const CounterStateType &after) |
Direct read of memory controller PMU counter (counter meaning depends on the programming: power/performance/etc) More... | |
template<class CounterStateType > | |
uint64 | getPCUCounter (uint32 counter, const CounterStateType &before, const CounterStateType &after) |
Direct read of power control unit PMU counter (counter meaning depends on the programming: power/performance/etc) 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 > | |
uint64 | getInvariantTSC (const CounterStateType &before, const CounterStateType &after) |
Computes number of invariant time stamp counter ticks. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from UncoreCounterState | |
void | readAndAggregate (SafeMsrHandle *) |
Protected Attributes inherited from UncoreCounterState | |
uint64 | UncMCFullWrites |
uint64 | UncMCNormalReads |
uint64 | UncMCIORequests |
uint64 | PackageEnergyStatus |
uint64 | DRAMEnergyStatus |
uint64 | CStateResidency [PCM::MAX_C_STATE+1] |
Server uncore power counter state.
|
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 DRAM clock ticks.
channel | DRAM channel number |
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 invariant time stamp counter ticks.
This counter counts irrespectively of C-, P- or T-states
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Direct read of memory controller PMU counter (counter meaning depends on the programming: power/performance/etc)
counter | counter number |
channel | channel number |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Direct read of power control unit PMU counter (counter meaning depends on the programming: power/performance/etc)
counter | counter number |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Returns QPI LL clock ticks.
port | QPI port number |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Returns the number of QPI cycles in power saving half-lane mode.
port | QPI port number |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Returns the number of QPI cycles in power saving shutdown mode.
port | QPI port number |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |