We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 413eed7 commit edcf497Copy full SHA for edcf497
src/types.h
@@ -143,13 +143,11 @@ constexpr auto CMT_MEM_LOAD_RETIRED_L2_HIT_EVTNR = 0xD1;
143
constexpr auto CMT_MEM_LOAD_RETIRED_L2_HIT_UMASK = 0x02;
144
145
// architectural on-core events
146
+constexpr auto ARCH_LLC_REFERENCE_EVTNR = 0x2E;
147
+constexpr auto ARCH_LLC_REFERENCE_UMASK = 0x4F;
148
-#define ARCH_LLC_REFERENCE_EVTNR (0x2E)
-#define ARCH_LLC_REFERENCE_UMASK (0x4F)
149
-
150
-#define ARCH_LLC_MISS_EVTNR (0x2E)
151
-#define ARCH_LLC_MISS_UMASK (0x41)
152
+constexpr auto ARCH_LLC_MISS_EVTNR = 0x2E;
+constexpr auto ARCH_LLC_MISS_UMASK = 0x41;
153
// Atom on-core events
154
155
#define ATOM_MEM_LOAD_RETIRED_L2_HIT_EVTNR (0xCB)
0 commit comments