Processor Counter Monitor
|
Server uncore power counter state. More...
#include <cpucounters.h>
Public Member Functions | |
int32 | getPackageThermalHeadroom () const |
Returns current thermal headroom below TjMax. | |
![]() | |
UncoreCounterState (const UncoreCounterState &)=default | |
UncoreCounterState (UncoreCounterState &&)=default | |
UncoreCounterState & | operator= (UncoreCounterState &&)=default |
UncoreCounterState & | operator+= (const UncoreCounterState &o) |
Friends | |
class | PCM |
template<class CounterStateType > | |
uint64 | getDRAMClocks (uint32 channel, const CounterStateType &before, const CounterStateType &after) |
Returns DRAM clock ticks. More... | |
template<class CounterStateType > | |
uint64 | getMCDRAMClocks (uint32 channel, const CounterStateType &before, const CounterStateType &after) |
Returns MCDRAM 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 | getM3UPICounter (uint32 port, uint32 counter, const CounterStateType &before, const CounterStateType &after) |
Direct read of M3UPI PMU counter (counter meaning depends on the programming: power/performance/etc) More... | |
template<class CounterStateType > | |
uint64 | getCBOCounter (uint32 cbo, uint32 counter, const CounterStateType &before, const CounterStateType &after) |
Direct read of CHA or CBO PMU counter (counter meaning depends on the programming: power/performance/etc) More... | |
template<class CounterStateType > | |
uint64 | getUBOXCounter (uint32 counter, const CounterStateType &before, const CounterStateType &after) |
Direct read of UBOX PMU counter (counter meaning depends on the programming: power/performance/etc) More... | |
template<class CounterStateType > | |
uint64 | getIIOCounter (uint32 stack, uint32 counter, const CounterStateType &before, const CounterStateType &after) |
Direct read of IIO PMU counter (counter meaning depends on the programming: power/performance/etc) More... | |
template<class CounterStateType > | |
uint64 | getIRPCounter (uint32 stack, uint32 counter, const CounterStateType &before, const CounterStateType &after) |
Direct read of IRP PMU counter (counter meaning depends on the programming: power/performance/etc) More... | |
template<class CounterStateType > | |
uint64 | getXPICounter (uint32 port, uint32 counter, const CounterStateType &before, const CounterStateType &after) |
Direct read of UPI or QPI PMU counter (counter meaning depends on the programming: power/performance/etc) More... | |
template<class CounterStateType > | |
uint64 | getM2MCounter (uint32 controller, uint32 counter, const CounterStateType &before, const CounterStateType &after) |
Direct read of Memory2Mesh controller PMU counter (counter meaning depends on the programming: power/performance/etc) More... | |
template<class CounterStateType > | |
uint64 | getEDCCounter (uint32 channel, uint32 counter, const CounterStateType &before, const CounterStateType &after) |
Direct read of embedded DRAM memory controller 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, excluding 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... | |
template<class CounterStateType > | |
int64 | getFreeRunningCounter (const typename CounterStateType::FreeRunningCounterID &, const CounterStateType &before, const CounterStateType &after) |
Returns free running counter if it exists, -1 otherwise. More... | |
template<class CounterStateType > | |
double | getAverageFrequencyFromClocks (const int64 clocks, const CounterStateType &before, const CounterStateType &after) |
Additional Inherited Members | |
![]() | |
void | readAndAggregate (std::shared_ptr< SafeMsrHandle >) |
![]() | |
uint64 | UncMCFullWrites |
uint64 | UncMCNormalReads |
uint64 | UncHARequests |
uint64 | UncHALocalRequests |
uint64 | UncPMMWrites |
uint64 | UncPMMReads |
uint64 | UncEDCFullWrites |
uint64 | UncEDCNormalReads |
uint64 | UncMCGTRequests |
uint64 | UncMCIARequests |
uint64 | UncMCIORequests |
uint64 | PackageEnergyStatus |
uint64 | DRAMEnergyStatus |
uint64 | TOROccupancyIAMiss |
uint64 | TORInsertsIAMiss |
uint64 | UncClocks |
uint64 | CStateResidency [PCM::MAX_C_STATE+1] |
Server uncore power counter state.
|
friend |
Direct read of CHA or CBO PMU counter (counter meaning depends on the programming: power/performance/etc)
counter | counter number |
cbo | cbo or cha number |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Returns energy consumed by processor, excluding 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 |
Direct read of embedded DRAM memory controller 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 |
Returns free running counter if it exists, -1 otherwise.
counter | name of the counter |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Direct read of IIO PMU counter (counter meaning depends on the programming: power/performance/etc)
counter | counter number |
stack | IIO stack number |
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 IRP PMU counter (counter meaning depends on the programming: power/performance/etc)
counter | counter number |
stack | IIO stack number |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Direct read of Memory2Mesh controller PMU counter (counter meaning depends on the programming: power/performance/etc)
counter | counter number |
controller | controller number |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |
|
friend |
Direct read of M3UPI PMU counter (counter meaning depends on the programming: power/performance/etc)
counter | counter number |
port | UPI port number |
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 |
Returns MCDRAM clock ticks.
channel | MCDRAM 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 |
Direct read of UBOX 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 |
Direct read of UPI or QPI PMU counter (counter meaning depends on the programming: power/performance/etc)
counter | counter number |
port | UPI/QPI port number |
before | CPU counter state before the experiment |
after | CPU counter state after the experiment |