diff options
Diffstat (limited to 'pw_trace_tokenized/docs.rst')
-rw-r--r-- | pw_trace_tokenized/docs.rst | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pw_trace_tokenized/docs.rst b/pw_trace_tokenized/docs.rst index f58dc62c1..22363acdf 100644 --- a/pw_trace_tokenized/docs.rst +++ b/pw_trace_tokenized/docs.rst @@ -153,13 +153,10 @@ be done in one of a few ways. 1. Create a file with the default time functions, and provide as build variable ``pw_trace_tokenized_time``, which will get pulled in as a dependency. 2. Provide time functions elsewhere in project, and ensure they are included. -3. Redefine the trace time macros to something else, other then the default - trace time functions. +3. Provide definitions of the following trace time functions. .. cpp:function:: PW_TRACE_TIME_TYPE pw_trace_GetTraceTime() -.. cpp:function:: PW_TRACE_GET_TIME() .. cpp:function:: size_t pw_trace_GetTraceTimeTicksPerSecond() -.. cpp:function:: PW_TRACE_GET_TIME_TICKS_PER_SECOND() ------ @@ -205,7 +202,7 @@ are surrounded by 'begin' and 'end' tags. Ex. Invoking PW_TRACE_INSTANT with 'test1' and 'test2', then calling this function would produce this in the output logs: -.. code:: sh +.. code-block:: sh [TRACE] begin [TRACE] data: BWdDMRoABWj52YMB |