Public Types | Public Member Functions

CycleTracker Class Reference

Keeps track of cycles accumulated and the reasons for them. More...

#include <CycleTracker.h>

Public Types

enum  CycleReason {
  CPII, I_CACHE, L1_CACHE, L2_CACHE,
  MEMORY, INT_DEP, INT_USE_DEP, INT_DSU_DEP,
  FGU_DEP, BRANCH_MP, BRANCH_ST, P_FLUSH,
  STB_FULL, SPCL_LOAD, LD_STB, TLB_MISS,
  ITLB_MISS, NUMCYCLEREASONS
}

Public Member Functions

void accountForCycles (CycleCount cycles, CycleReason reason)
CycleCount currentCycles ()
CycleCount cyclesForCategory (CycleReason reason)
double cyclePercentForCategory (CycleReason reason)
unsigned long long eventCountForCategory (CycleReason reason)
const char * categoryName (CycleReason reason)

Detailed Description

Keeps track of cycles accumulated and the reasons for them.


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