diff options
author | Christopher Celio <celio@eecs.berkeley.edu> | 2014-08-07 18:44:48 -0700 |
---|---|---|
committer | Christopher Celio <celio@eecs.berkeley.edu> | 2014-08-07 18:44:48 -0700 |
commit | 5eba64df88be49c4f2aaddeda3f3f81d7b4b34f3 (patch) | |
tree | 0f59124bce23058795d55dc5fba6937a9a02e3ce /pk/pk.h | |
parent | 929d2f0109570a84f9455b153d2547b172b0ac01 (diff) | |
download | pk-5eba64df88be49c4f2aaddeda3f3f81d7b4b34f3.zip pk-5eba64df88be49c4f2aaddeda3f3f81d7b4b34f3.tar.gz pk-5eba64df88be49c4f2aaddeda3f3f81d7b4b34f3.tar.bz2 |
Added "-c" option to track uarch counter info.
Diffstat (limited to 'pk/pk.h')
-rw-r--r-- | pk/pk.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -82,6 +82,11 @@ static inline int insn_len(long insn) #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) +#define NUM_COUNTERS (18) +extern int uarch_counters_enabled; +extern long uarch_counters[NUM_COUNTERS]; +extern char* uarch_counter_names[NUM_COUNTERS]; + #ifdef __cplusplus } #endif |