Skip to content

Commit 6e88d20

Browse files
committed
Remove cycle counter
1 parent a51ce43 commit 6e88d20

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

traceX/src/tracex.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@
77
#include "tracex.h"
88
#include <stdbool.h>
99

10-
/**
11-
* @brief Enable the CPU cycle counter used by TraceX timestamps.
12-
*
13-
* This function is implemented by the application or platform layer.
14-
* It must enable a free-running CPU cycle counter before TraceX is started.
15-
*
16-
* It is called once from tracex_start().
17-
*/
18-
void tracex_enable_cycle_counter(void);
19-
2010
static UCHAR *s_trace_buffer = NULL;
2111
static uint32_t s_trace_size = 0U;
2212
static bool s_tracex_started = false;
@@ -44,7 +34,6 @@ void tracex_start(void)
4434
return;
4535
}
4636

47-
tracex_enable_cycle_counter();
4837
tx_trace_enable(s_trace_buffer, s_trace_size, 32U);
4938
s_tracex_started = true;
5039
}

0 commit comments

Comments
 (0)