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 a51ce43 commit 6e88d20Copy full SHA for 6e88d20
1 file changed
traceX/src/tracex.c
@@ -7,16 +7,6 @@
7
#include "tracex.h"
8
#include <stdbool.h>
9
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
-
20
static UCHAR *s_trace_buffer = NULL;
21
static uint32_t s_trace_size = 0U;
22
static bool s_tracex_started = false;
@@ -44,7 +34,6 @@ void tracex_start(void)
44
34
return;
45
35
}
46
36
47
- tracex_enable_cycle_counter();
48
37
tx_trace_enable(s_trace_buffer, s_trace_size, 32U);
49
38
s_tracex_started = true;
50
39
0 commit comments