Processor Counter Monitor
Public Member Functions | Friends | List of all members
pcm::CoreCounterState Class Reference

(Logical) core-wide counter state More...

#include <cpucounters.h>

Inheritance diagram for pcm::CoreCounterState:
Inheritance graph
[legend]
Collaboration diagram for pcm::CoreCounterState:
Collaboration graph
[legend]

Public Member Functions

 CoreCounterState (const CoreCounterState &)=default
 
 CoreCounterState (CoreCounterState &&)=default
 
CoreCounterStateoperator= (CoreCounterState &&)=default
 
- Public Member Functions inherited from pcm::BasicCounterState
 BasicCounterState (const BasicCounterState &)=default
 
 BasicCounterState (BasicCounterState &&)=default
 
BasicCounterStateoperator= (BasicCounterState &&)=default
 
BasicCounterStateoperator+= (const BasicCounterState &o)
 
void readAndAggregate (std::shared_ptr< SafeMsrHandle >)
 
void readAndAggregateTSC (std::shared_ptr< SafeMsrHandle >)
 
int32 getThermalHeadroom () const
 Returns current thermal headroom below TjMax.
 

Friends

class PCM
 

Additional Inherited Members

- Protected Types inherited from pcm::BasicCounterState
enum  {
  L3MissPos = 0, ArchLLCMissPos = 0, L3UnsharedHitPos = 1, ArchLLCRefPos = 1,
  SKLL3HitPos = 1, L2HitMPos = 2, SKLL2MissPos = 2, L2HitPos = 3
}
 
- Protected Attributes inherited from pcm::BasicCounterState
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
 

Detailed Description

(Logical) core-wide counter state


The documentation for this class was generated from the following file: