![]() |
reactor-c 1.0
C Runtime for Lingua Franca
|
API for the tracing module that records runtime events for debugging and analysis. More...
#include <stdint.h>#include <stdbool.h>#include "lf_core_version.h"Go to the source code of this file.
Data Structures | |
| struct | object_description_t |
| struct | trace_record_nodeps_t |
| Trace record without dependencies. More... | |
Typedefs | |
| typedef struct object_description_t | object_description_t |
| Struct for table of pointers to a description of the object. | |
Enumerations | |
| enum | _lf_trace_object_t { trace_reactor , trace_trigger , trace_user } |
| Identifier for what is in the object table. More... | |
Functions | |
| void | lf_tracing_global_init (char *process_name, char *process_names, int process_id, int max_num_local_threads) |
| Initialize the tracing module. | |
| void | lf_tracing_global_shutdown () |
| Shut down the tracing module. | |
| void | lf_tracing_register_trace_event (object_description_t description) |
| Register a kind of trace event. | |
| void | lf_tracing_set_start_time (int64_t start_time) |
| Give the tracing module access to the start time. | |
| void | lf_tracing_tracepoint (int worker, trace_record_nodeps_t *tr) |
| Submit a tracepoint from the given worker to the tracing module. | |
| const version_t * | lf_version_tracing () |
| Return a description of the compile-time properties of the current plugin. | |
API for the tracing module that records runtime events for debugging and analysis.
This header file defines the API for the tracing module, which records runtime events for debugging and analysis purposes. The tracing module maintains a table of objects and their descriptions, and records events with timestamps and other metadata.