RKH
|
Related to manage a trace session with Trazer application. See the Tracing tool section for more information. More...
Macros | |
#define | RKH_TRC_OPEN() rkh_trc_open() |
Open the tracing session. More... | |
#define | RKH_TRC_CLOSE() rkh_trc_close() |
Close the tracing session. More... | |
#define | RKH_TRC_FLUSH() rkh_trc_flush() |
Platform-dependent macro flushing the trace stream. More... | |
#define | RKH_TRC_SEND_CFG(ts_hz) RKH_TR_FWK_TCFG(ts_hz) |
Send the trace facility configuration to host application software Trazer. More... | |
Functions | |
void | rkh_trc_open (void) |
Open the tracing session. | |
void | rkh_trc_close (void) |
Close the tracing session. | |
void | rkh_trc_flush (void) |
Platform-dependent macro flushing the trace stream. | |
RKH_TS_T | rkh_trc_getts (void) |
Retrieves a timestamp to be placed in a trace event. More... | |
Related to manage a trace session with Trazer application. See the Tracing tool section for more information.
#define RKH_TRC_OPEN | ( | ) | rkh_trc_open() |
Open the tracing session.
This function is application-specific and the user needs to define it. At a minimum, this function must initialize and/or configure the trace stream by calling rkh_trc_init() and RKH_TRC_SEND_CFG() respectively.
Definition at line 105 of file rkhtrc_out.h.
#define RKH_TRC_CLOSE | ( | ) | rkh_trc_close() |
Close the tracing session.
This function is application-specific and the user needs to define it.
Definition at line 136 of file rkhtrc_out.h.
#define RKH_TRC_FLUSH | ( | ) | rkh_trc_flush() |
Platform-dependent macro flushing the trace stream.
This function is application-specific and the user needs to define it. When the RKH trace an event, all the information related to it has to be stored somewhere before it can be retrieved, in order to be analyzed. This place is a trace stream. Frequently, events traced are stored in the stream until it is flushed.
Definition at line 189 of file rkhtrc_out.h.
#define RKH_TRC_SEND_CFG | ( | ts_hz | ) | RKH_TR_FWK_TCFG(ts_hz) |
Send the trace facility configuration to host application software Trazer.
Trazer is designed to work with all possible target CPU, which requires a wide range of configurability. For example, for any given target CPU, Trazer must "know" the size of object pointers, event size, timestamp size and so on. This configurations could be provided through "trazer.cfg" file in the host or invoking RKH_TRC_SEND_CFG() macro from the application-specific rkh_trc_open() function.
[in] | ts_hz | clocks per second of trace timestamp. |
Definition at line 219 of file rkhtrc_out.h.