@@ -75,13 +75,13 @@ static_assert(ARRAY_SIZE(GENERIC_EVENTS) == ARRAY_SIZE(GENERIC_EVENT_NAMES),
75
75
* Starts the cycle counter, which is guaranteed to run until
76
76
* `sel4bench_destroy()` is called.
77
77
*/
78
- static UNUSED void sel4bench_init ();
78
+ static void sel4bench_init ();
79
79
80
80
/**
81
81
* Tear down the sel4bench library. Nothing else is guaranteed to work, and may
82
82
* produce strange failures, after you do this.
83
83
*/
84
- static UNUSED void sel4bench_destroy ();
84
+ static void sel4bench_destroy ();
85
85
86
86
/**
87
87
* Query the cycle counter. If said counter needs starting, `sel4bench_init()`
@@ -92,7 +92,7 @@ static UNUSED void sel4bench_destroy();
92
92
*
93
93
* @return current cycle count
94
94
*/
95
- static UNUSED ccnt_t sel4bench_get_cycle_count ();
95
+ static ccnt_t sel4bench_get_cycle_count ();
96
96
97
97
/**
98
98
* Query how many performance counters are supported on this CPU, excluding the
@@ -104,7 +104,7 @@ static UNUSED ccnt_t sel4bench_get_cycle_count();
104
104
105
105
* @return quantity of counters on this CPU
106
106
*/
107
- static UNUSED seL4_Word sel4bench_get_num_counters ();
107
+ static seL4_Word sel4bench_get_num_counters ();
108
108
109
109
/**
110
110
* Query the description of a counter.
@@ -123,7 +123,7 @@ const char *sel4bench_get_counter_description(counter_t counter);
123
123
*
124
124
* @return counter value
125
125
*/
126
- static UNUSED ccnt_t sel4bench_get_counter (counter_t counter );
126
+ static ccnt_t sel4bench_get_counter (counter_t counter );
127
127
128
128
/**
129
129
* Query the value of a set of counters.
@@ -138,8 +138,8 @@ static UNUSED ccnt_t sel4bench_get_counter(counter_t counter);
138
138
*
139
139
* @return current cycle count as in `sel4bench_get_cycle_count()`
140
140
*/
141
- static UNUSED ccnt_t sel4bench_get_counters (counter_bitfield_t counters ,
142
- ccnt_t * values );
141
+ static ccnt_t sel4bench_get_counters (counter_bitfield_t counters ,
142
+ ccnt_t * values );
143
143
144
144
/**
145
145
* Assign a counter to track a specific event. Events are processor-specific,
@@ -148,14 +148,14 @@ static UNUSED ccnt_t sel4bench_get_counters(counter_bitfield_t counters,
148
148
* @param counter counter to configure
149
149
* @param event event to track
150
150
*/
151
- static UNUSED void sel4bench_set_count_event (counter_t counter , event_id_t id );
151
+ static void sel4bench_set_count_event (counter_t counter , event_id_t id );
152
152
153
153
/**
154
154
* Start counting events on a set of performance counters.
155
155
*
156
156
* @param counters bitfield indicating which counter(s) to start
157
157
*/
158
- static UNUSED void sel4bench_start_counters (counter_bitfield_t counters );
158
+ static void sel4bench_start_counters (counter_bitfield_t counters );
159
159
160
160
/**
161
161
* Stop counting events on a set of performance counters.
@@ -164,14 +164,14 @@ static UNUSED void sel4bench_start_counters(counter_bitfield_t counters);
164
164
*
165
165
* @param counters bitfield indicating which counter(s) to stop
166
166
*/
167
- static UNUSED void sel4bench_stop_counters (counter_bitfield_t counters );
167
+ static void sel4bench_stop_counters (counter_bitfield_t counters );
168
168
169
169
/**
170
170
* Reset all performance counters to zero. Note that the cycle counter is not a
171
171
* performance counter, and is not reset.
172
172
*
173
173
*/
174
- static UNUSED void sel4bench_reset_counters (void );
174
+ static void sel4bench_reset_counters (void );
175
175
176
176
/**
177
177
* Query the number of benchmark loops required to read a given number of
0 commit comments