Skip to content

Commit

Permalink
Increase counters to 8 for A64FX. Fixes RRZE-HPC#605
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTheBear committed Sep 10, 2024
1 parent fc37b60 commit 64a908a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/includes/perfmon_a64fx_counters.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* =======================================================================================
*/

#define NUM_COUNTERS_A64FX 6
#define NUM_COUNTERS_A64FX 8

static RegisterMap a64fx_counter_map[NUM_COUNTERS_A64FX] = {
{"PMC0", PMC0, PMC, 0, 0, 0, 0, EVENT_OPTION_NONE_MASK},
Expand All @@ -37,6 +37,8 @@ static RegisterMap a64fx_counter_map[NUM_COUNTERS_A64FX] = {
{"PMC3", PMC3, PMC, 0, 0, 0, 0, EVENT_OPTION_NONE_MASK},
{"PMC4", PMC4, PMC, 0, 0, 0, 0, EVENT_OPTION_NONE_MASK},
{"PMC5", PMC5, PMC, 0, 0, 0, 0, EVENT_OPTION_NONE_MASK},
{"PMC6", PMC6, PMC, 0, 0, 0, 0, EVENT_OPTION_NONE_MASK},
{"PMC7", PMC7, PMC, 0, 0, 0, 0, EVENT_OPTION_NONE_MASK},
};

static BoxMap a64fx_box_map[NUM_UNITS] = {
Expand Down

0 comments on commit 64a908a

Please sign in to comment.