HPCToolkit
DCPIMetricDesc.hpp File Reference
#include <string>
#include <include/uint.h>
#include <lib/isa/ISATypes.hpp>
Include dependency graph for DCPIMetricDesc.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DCPIMetricDesc
 

Macros

#define DCPI_MTYPE_PM   UINT64_C(0x0000000000000001)
 
#define DCPI_MTYPE_RM   UINT64_C(0x0000000000000002)
 
#define DCPI_PM_CNTR_MASK   UINT64_C(0x00000000000000fc)
 
#define DCPI_PM_CNTR_count   UINT64_C(0x0000000000000004)
 
#define DCPI_PM_CNTR_inflight   UINT64_C(0x0000000000000008)
 
#define DCPI_PM_CNTR_retires   UINT64_C(0x0000000000000010)
 
#define DCPI_PM_CNTR_retdelay   UINT64_C(0x0000000000000020)
 
#define DCPI_PM_CNTR_bcmisses   UINT64_C(0x0000000000000040)
 
#define DCPI_PM_CNTR_replays   UINT64_C(0x0000000000000080)
 
#define DCPI_PM_ATTR_MASK   UINT64_C(0x000000003fffff00)
 
#define DCPI_PM_ATTR_retired_T   UINT64_C(0x0000000000000100)
 
#define DCPI_PM_ATTR_retired_F   UINT64_C(0x0000000000000200)
 
#define DCPI_PM_ATTR_taken_T   UINT64_C(0x0000000000000400)
 
#define DCPI_PM_ATTR_taken_F   UINT64_C(0x0000000000000800)
 
#define DCPI_PM_ATTR_cbrmispredict_T   UINT64_C(0x0000000000001000)
 
#define DCPI_PM_ATTR_cbrmispredict_F   UINT64_C(0x0000000000002000)
 
#define DCPI_PM_ATTR_valid_T   UINT64_C(0x0000000000004000)
 
#define DCPI_PM_ATTR_valid_F   UINT64_C(0x0000000000008000)
 
#define DCPI_PM_ATTR_nyp_T   UINT64_C(0x0000000000010000)
 
#define DCPI_PM_ATTR_nyp_F   UINT64_C(0x0000000000020000)
 
#define DCPI_PM_ATTR_ldstorder_T   UINT64_C(0x0000000000040000)
 
#define DCPI_PM_ATTR_ldstorder_F   UINT64_C(0x0000000000080000)
 
#define DCPI_PM_ATTR_map_stall_T   UINT64_C(0x0000000000100000)
 
#define DCPI_PM_ATTR_map_stall_F   UINT64_C(0x0000000000200000)
 
#define DCPI_PM_ATTR_early_kill_T   UINT64_C(0x0000000000400000)
 
#define DCPI_PM_ATTR_early_kill_F   UINT64_C(0x0000000000800000)
 
#define DCPI_PM_ATTR_late_kill_T   UINT64_C(0x0000000001000000)
 
#define DCPI_PM_ATTR_late_kill_F   UINT64_C(0x0000000002000000)
 
#define DCPI_PM_ATTR_capped_T   UINT64_C(0x0000000004000000)
 
#define DCPI_PM_ATTR_capped_F   UINT64_C(0x0000000008000000)
 
#define DCPI_PM_ATTR_twnzrd_T   UINT64_C(0x0000000010000000)
 
#define DCPI_PM_ATTR_twnzrd_F   UINT64_C(0x0000000020000000)
 
#define DCPI_PM_TRAP_MASK   UINT64_C(0x0000ffff00000000)
 
#define DCPI_PM_TRAP_notrap   UINT64_C(0x0000000100000000)
 
#define DCPI_PM_TRAP_mispredict   UINT64_C(0x0000000200000000)
 
#define DCPI_PM_TRAP_replays   UINT64_C(0x0000000400000000)
 
#define DCPI_PM_TRAP_unaligntrap   UINT64_C(0x0000000800000000)
 
#define DCPI_PM_TRAP_dtbmiss   UINT64_C(0x0000001000000000)
 
#define DCPI_PM_TRAP_dtb2miss3   UINT64_C(0x0000002000000000)
 
#define DCPI_PM_TRAP_dtb2miss4   UINT64_C(0x0000004000000000)
 
#define DCPI_PM_TRAP_itbmiss   UINT64_C(0x0000008000000000)
 
#define DCPI_PM_TRAP_arithtrap   UINT64_C(0x0000010000000000)
 
#define DCPI_PM_TRAP_fpdisabledtrap   UINT64_C(0x0000020000000000)
 
#define DCPI_PM_TRAP_MT_FPCRtrap   UINT64_C(0x0000040000000000)
 
#define DCPI_PM_TRAP_dfaulttrap   UINT64_C(0x0000080000000000)
 
#define DCPI_PM_TRAP_iacvtrap   UINT64_C(0x0000100000000000)
 
#define DCPI_PM_TRAP_OPCDECtrap   UINT64_C(0x0000200000000000)
 
#define DCPI_PM_TRAP_interrupt   UINT64_C(0x0000400000000000)
 
#define DCPI_PM_TRAP_mchktrap   UINT64_C(0x0000800000000000)
 
#define DCPI_PM_TRAP_trap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_notrap)
 
#define DCPI_PM_TRAP_N_notrap   DCPI_PM_TRAP_trap
 
#define DCPI_PM_TRAP_N_mispredict   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_mispredict)
 
#define DCPI_PM_TRAP_N_replays   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_replays)
 
#define DCPI_PM_TRAP_N_unaligntrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_unaligntrap)
 
#define DCPI_PM_TRAP_N_dtbmiss   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_dtbmiss)
 
#define DCPI_PM_TRAP_N_dtb2miss3   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_dtb2miss3)
 
#define DCPI_PM_TRAP_N_dtb2miss4   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_dtb2miss4)
 
#define DCPI_PM_TRAP_N_itbmiss   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_itbmiss)
 
#define DCPI_PM_TRAP_N_arithtrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_arithtrap)
 
#define DCPI_PM_TRAP_N_fpdisabledtrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_fpdisabledtrap)
 
#define DCPI_PM_TRAP_N_MT_FPCRtrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_MT_FPCRtrap)
 
#define DCPI_PM_TRAP_N_dfaulttrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_dfaulttrap)
 
#define DCPI_PM_TRAP_N_iacvtrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_iacvtrap)
 
#define DCPI_PM_TRAP_N_OPCDECtrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_OPCDECtrap)
 
#define DCPI_PM_TRAP_N_interrupt   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_interrupt)
 
#define DCPI_PM_TRAP_N_mchktrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_mchktrap)
 
#define DCPI_RM_CNTR_MASK   UINT64_C(0x000000000000003c)
 
#define DCPI_RM_cycles   UINT64_C(0x0000000000000004)
 
#define DCPI_RM_retires   UINT64_C(0x0000000000000008)
 
#define DCPI_RM_replaytrap   UINT64_C(0x0000000000000010)
 
#define DCPI_RM_bmiss   UINT64_C(0x0000000000000020)
 

Functions

DCPIMetricDesc String2DCPIMetricDesc (const char *str)
 

Macro Definition Documentation

◆ DCPI_MTYPE_PM

#define DCPI_MTYPE_PM   UINT64_C(0x0000000000000001)

Definition at line 116 of file DCPIMetricDesc.hpp.

◆ DCPI_MTYPE_RM

#define DCPI_MTYPE_RM   UINT64_C(0x0000000000000002)

Definition at line 117 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_capped_F

#define DCPI_PM_ATTR_capped_F   UINT64_C(0x0000000008000000)

Definition at line 159 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_capped_T

#define DCPI_PM_ATTR_capped_T   UINT64_C(0x0000000004000000)

Definition at line 158 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_cbrmispredict_F

#define DCPI_PM_ATTR_cbrmispredict_F   UINT64_C(0x0000000000002000)

Definition at line 145 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_cbrmispredict_T

#define DCPI_PM_ATTR_cbrmispredict_T   UINT64_C(0x0000000000001000)

Definition at line 144 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_early_kill_F

#define DCPI_PM_ATTR_early_kill_F   UINT64_C(0x0000000000800000)

Definition at line 155 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_early_kill_T

#define DCPI_PM_ATTR_early_kill_T   UINT64_C(0x0000000000400000)

Definition at line 154 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_late_kill_F

#define DCPI_PM_ATTR_late_kill_F   UINT64_C(0x0000000002000000)

Definition at line 157 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_late_kill_T

#define DCPI_PM_ATTR_late_kill_T   UINT64_C(0x0000000001000000)

Definition at line 156 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_ldstorder_F

#define DCPI_PM_ATTR_ldstorder_F   UINT64_C(0x0000000000080000)

Definition at line 151 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_ldstorder_T

#define DCPI_PM_ATTR_ldstorder_T   UINT64_C(0x0000000000040000)

Definition at line 150 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_map_stall_F

#define DCPI_PM_ATTR_map_stall_F   UINT64_C(0x0000000000200000)

Definition at line 153 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_map_stall_T

#define DCPI_PM_ATTR_map_stall_T   UINT64_C(0x0000000000100000)

Definition at line 152 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_MASK

#define DCPI_PM_ATTR_MASK   UINT64_C(0x000000003fffff00)

Definition at line 138 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_nyp_F

#define DCPI_PM_ATTR_nyp_F   UINT64_C(0x0000000000020000)

Definition at line 149 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_nyp_T

#define DCPI_PM_ATTR_nyp_T   UINT64_C(0x0000000000010000)

Definition at line 148 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_retired_F

#define DCPI_PM_ATTR_retired_F   UINT64_C(0x0000000000000200)

Definition at line 141 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_retired_T

#define DCPI_PM_ATTR_retired_T   UINT64_C(0x0000000000000100)

Definition at line 140 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_taken_F

#define DCPI_PM_ATTR_taken_F   UINT64_C(0x0000000000000800)

Definition at line 143 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_taken_T

#define DCPI_PM_ATTR_taken_T   UINT64_C(0x0000000000000400)

Definition at line 142 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_twnzrd_F

#define DCPI_PM_ATTR_twnzrd_F   UINT64_C(0x0000000020000000)

Definition at line 161 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_twnzrd_T

#define DCPI_PM_ATTR_twnzrd_T   UINT64_C(0x0000000010000000)

Definition at line 160 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_valid_F

#define DCPI_PM_ATTR_valid_F   UINT64_C(0x0000000000008000)

Definition at line 147 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_ATTR_valid_T

#define DCPI_PM_ATTR_valid_T   UINT64_C(0x0000000000004000)

Definition at line 146 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_CNTR_bcmisses

#define DCPI_PM_CNTR_bcmisses   UINT64_C(0x0000000000000040)

Definition at line 131 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_CNTR_count

#define DCPI_PM_CNTR_count   UINT64_C(0x0000000000000004)

Definition at line 127 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_CNTR_inflight

#define DCPI_PM_CNTR_inflight   UINT64_C(0x0000000000000008)

Definition at line 128 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_CNTR_MASK

#define DCPI_PM_CNTR_MASK   UINT64_C(0x00000000000000fc)

Definition at line 125 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_CNTR_replays

#define DCPI_PM_CNTR_replays   UINT64_C(0x0000000000000080)

Definition at line 132 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_CNTR_retdelay

#define DCPI_PM_CNTR_retdelay   UINT64_C(0x0000000000000020)

Definition at line 130 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_CNTR_retires

#define DCPI_PM_CNTR_retires   UINT64_C(0x0000000000000010)

Definition at line 129 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_arithtrap

#define DCPI_PM_TRAP_arithtrap   UINT64_C(0x0000010000000000)

Definition at line 176 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_dfaulttrap

#define DCPI_PM_TRAP_dfaulttrap   UINT64_C(0x0000080000000000)

Definition at line 179 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_dtb2miss3

#define DCPI_PM_TRAP_dtb2miss3   UINT64_C(0x0000002000000000)

Definition at line 173 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_dtb2miss4

#define DCPI_PM_TRAP_dtb2miss4   UINT64_C(0x0000004000000000)

Definition at line 174 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_dtbmiss

#define DCPI_PM_TRAP_dtbmiss   UINT64_C(0x0000001000000000)

Definition at line 172 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_fpdisabledtrap

#define DCPI_PM_TRAP_fpdisabledtrap   UINT64_C(0x0000020000000000)

Definition at line 177 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_iacvtrap

#define DCPI_PM_TRAP_iacvtrap   UINT64_C(0x0000100000000000)

Definition at line 180 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_interrupt

#define DCPI_PM_TRAP_interrupt   UINT64_C(0x0000400000000000)

Definition at line 182 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_itbmiss

#define DCPI_PM_TRAP_itbmiss   UINT64_C(0x0000008000000000)

Definition at line 175 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_MASK

#define DCPI_PM_TRAP_MASK   UINT64_C(0x0000ffff00000000)

Definition at line 166 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_mchktrap

#define DCPI_PM_TRAP_mchktrap   UINT64_C(0x0000800000000000)

Definition at line 183 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_mispredict

#define DCPI_PM_TRAP_mispredict   UINT64_C(0x0000000200000000)

Definition at line 169 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_MT_FPCRtrap

#define DCPI_PM_TRAP_MT_FPCRtrap   UINT64_C(0x0000040000000000)

Definition at line 178 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_arithtrap

#define DCPI_PM_TRAP_N_arithtrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_arithtrap)

Definition at line 197 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_dfaulttrap

#define DCPI_PM_TRAP_N_dfaulttrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_dfaulttrap)

Definition at line 200 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_dtb2miss3

#define DCPI_PM_TRAP_N_dtb2miss3   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_dtb2miss3)

Definition at line 194 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_dtb2miss4

#define DCPI_PM_TRAP_N_dtb2miss4   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_dtb2miss4)

Definition at line 195 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_dtbmiss

#define DCPI_PM_TRAP_N_dtbmiss   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_dtbmiss)

Definition at line 193 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_fpdisabledtrap

#define DCPI_PM_TRAP_N_fpdisabledtrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_fpdisabledtrap)

Definition at line 198 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_iacvtrap

#define DCPI_PM_TRAP_N_iacvtrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_iacvtrap)

Definition at line 201 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_interrupt

#define DCPI_PM_TRAP_N_interrupt   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_interrupt)

Definition at line 203 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_itbmiss

#define DCPI_PM_TRAP_N_itbmiss   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_itbmiss)

Definition at line 196 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_mchktrap

#define DCPI_PM_TRAP_N_mchktrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_mchktrap)

Definition at line 204 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_mispredict

#define DCPI_PM_TRAP_N_mispredict   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_mispredict)

Definition at line 190 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_MT_FPCRtrap

#define DCPI_PM_TRAP_N_MT_FPCRtrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_MT_FPCRtrap)

Definition at line 199 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_notrap

#define DCPI_PM_TRAP_N_notrap   DCPI_PM_TRAP_trap

Definition at line 188 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_OPCDECtrap

#define DCPI_PM_TRAP_N_OPCDECtrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_OPCDECtrap)

Definition at line 202 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_replays

#define DCPI_PM_TRAP_N_replays   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_replays)

Definition at line 191 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_N_unaligntrap

#define DCPI_PM_TRAP_N_unaligntrap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_unaligntrap)

Definition at line 192 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_notrap

#define DCPI_PM_TRAP_notrap   UINT64_C(0x0000000100000000)

Definition at line 168 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_OPCDECtrap

#define DCPI_PM_TRAP_OPCDECtrap   UINT64_C(0x0000200000000000)

Definition at line 181 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_replays

#define DCPI_PM_TRAP_replays   UINT64_C(0x0000000400000000)

Definition at line 170 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_trap

#define DCPI_PM_TRAP_trap   (DCPI_PM_TRAP_MASK & ~DCPI_PM_TRAP_notrap)

Definition at line 187 of file DCPIMetricDesc.hpp.

◆ DCPI_PM_TRAP_unaligntrap

#define DCPI_PM_TRAP_unaligntrap   UINT64_C(0x0000000800000000)

Definition at line 171 of file DCPIMetricDesc.hpp.

◆ DCPI_RM_bmiss

#define DCPI_RM_bmiss   UINT64_C(0x0000000000000020)

Definition at line 216 of file DCPIMetricDesc.hpp.

◆ DCPI_RM_CNTR_MASK

#define DCPI_RM_CNTR_MASK   UINT64_C(0x000000000000003c)

Definition at line 211 of file DCPIMetricDesc.hpp.

◆ DCPI_RM_cycles

#define DCPI_RM_cycles   UINT64_C(0x0000000000000004)

Definition at line 213 of file DCPIMetricDesc.hpp.

◆ DCPI_RM_replaytrap

#define DCPI_RM_replaytrap   UINT64_C(0x0000000000000010)

Definition at line 215 of file DCPIMetricDesc.hpp.

◆ DCPI_RM_retires

#define DCPI_RM_retires   UINT64_C(0x0000000000000008)

Definition at line 214 of file DCPIMetricDesc.hpp.

Function Documentation

◆ String2DCPIMetricDesc()

DCPIMetricDesc String2DCPIMetricDesc ( const char *  str)

Definition at line 243 of file DCPIMetricDesc.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: