Processor Counter Monitor
|
System-wide counter state. More...
#include <cpucounters.h>
Public Member Functions | |
SystemCounterState (const SystemCounterState &)=default | |
SystemCounterState (SystemCounterState &&)=default | |
SystemCounterState & | operator= (SystemCounterState &&)=default |
SystemCounterState & | operator+= (const SocketCounterState &scs) |
SystemCounterState & | operator+= (const UncoreCounterState &ucs) |
![]() | |
SocketCounterState & | operator+= (const BasicCounterState &ccs) |
SocketCounterState & | operator+= (const UncoreCounterState &ucs) |
SocketCounterState (const SocketCounterState &)=default | |
SocketCounterState (SocketCounterState &&)=default | |
SocketCounterState & | operator= (SocketCounterState &&)=default |
SocketCounterState & | operator= (UncoreCounterState &&ucs) |
![]() | |
BasicCounterState (const BasicCounterState &)=default | |
BasicCounterState (BasicCounterState &&)=default | |
BasicCounterState & | operator= (BasicCounterState &&)=default |
BasicCounterState & | operator+= (const BasicCounterState &o) |
void | readAndAggregate (std::shared_ptr< SafeMsrHandle >) |
void | readAndAggregateTSC (std::shared_ptr< SafeMsrHandle >) |
int32 | getThermalHeadroom () const |
Returns current thermal headroom below TjMax. | |
![]() | |
UncoreCounterState (const UncoreCounterState &)=default | |
UncoreCounterState (UncoreCounterState &&)=default | |
UncoreCounterState & | operator= (UncoreCounterState &&)=default |
UncoreCounterState & | operator+= (const UncoreCounterState &o) |
Protected Member Functions | |
void | readAndAggregate (std::shared_ptr< SafeMsrHandle > handle) |
![]() | |
void | readAndAggregate (std::shared_ptr< SafeMsrHandle > handle) |
![]() | |
void | readAndAggregate (std::shared_ptr< SafeMsrHandle >) |
Friends | |
class | PCM |
uint64 | getIncomingQPILinkBytes (uint32 socketNr, uint32 linkNr, const SystemCounterState &before, const SystemCounterState &after) |
Get estimation of QPI data traffic per incoming QPI link. More... | |
uint64 | getIncomingQPILinkBytes (uint32 socketNr, uint32 linkNr, const SystemCounterState &now) |
Return current value of the counter of QPI data traffic per incoming QPI link. More... | |
double | getOutgoingQPILinkUtilization (uint32 socketNr, uint32 linkNr, const SystemCounterState &before, const SystemCounterState &after) |
Get utilization of outgoing QPI link (0..1) More... | |
uint64 | getOutgoingQPILinkBytes (uint32 socketNr, uint32 linkNr, const SystemCounterState &before, const SystemCounterState &after) |
Get estimation of QPI (data+nondata) traffic per outgoing QPI link. More... | |
uint64 | getOutgoingQPILinkBytes (uint32 socketNr, uint32 linkNr, const SystemCounterState &now) |
Additional Inherited Members | |
![]() | |
enum | { L3MissPos = 0, ArchLLCMissPos = 0, L3UnsharedHitPos = 1, ArchLLCRefPos = 1, SKLL3HitPos = 1, L2HitMPos = 2, SKLL2MissPos = 2, L2HitPos = 3 } |
![]() | |
checked_uint64 | InstRetiredAny {} |
checked_uint64 | CpuClkUnhaltedThread {} |
checked_uint64 | CpuClkUnhaltedRef {} |
checked_uint64 | Event [PERF_MAX_CUSTOM_COUNTERS] |
uint64 | InvariantTSC |
uint64 | CStateResidency [PCM::MAX_C_STATE+1] |
int32 | ThermalHeadroom |
uint64 | L3Occupancy |
uint64 | MemoryBWLocal |
uint64 | MemoryBWTotal |
uint64 | SMICount |
uint64 | FrontendBoundSlots |
uint64 | BadSpeculationSlots |
uint64 | BackendBoundSlots |
uint64 | RetiringSlots |
uint64 | AllSlotsRaw |
std::unordered_map< uint64, uint64 > | MSRValues |
![]() | |
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] |
System-wide counter state.
|
friend |
Get estimation of QPI data traffic per incoming QPI link.
Returns an estimation of number of data bytes transferred to a socket over Intel(r) Quick Path Interconnect
socketNr | socket identifier |
linkNr | linkNr |
before | System CPU counter state before the experiment |
after | System CPU counter state after the experiment |
|
friend |
Return current value of the counter of QPI data traffic per incoming QPI link.
Returns the number of incoming data bytes to a socket over Intel(r) Quick Path Interconnect
socketNr | socket identifier |
linkNr | linkNr |
now | Current System CPU counter state |
|
friend |
Get estimation of QPI (data+nondata) traffic per outgoing QPI link.
Returns an estimation of number of data bytes transferred from a socket over Intel(r) Quick Path Interconnect
socketNr | socket identifier |
linkNr | linkNr |
before | System CPU counter state before the experiment |
after | System CPU counter state after the experiment |
|
friend |
Get utilization of outgoing QPI link (0..1)
Returns an estimation of utilization of QPI link by (data+nondata) traffic transferred from a socket over Intel(r) Quick Path Interconnect
socketNr | socket identifier |
linkNr | linkNr |
before | System CPU counter state before the experiment |
after | System CPU counter state after the experiment |