#include <stdint.h>
#include <stdbool.h>
#include "lf_core_version.h"
Go to the source code of this file.
◆ object_description_t
typedef struct object_description_t object_description_t |
Struct for table of pointers to a description of the object.
◆ _lf_trace_object_t
Identifier for what is in the object table.
Enumerator |
---|
trace_reactor | |
trace_trigger | |
trace_user | |
◆ lf_tracing_global_init()
void lf_tracing_global_init |
( |
char * | process_name, |
|
|
char * | process_names, |
|
|
int | process_id, |
|
|
int | max_num_local_threads ) |
Initialize the tracing module. Calling other API functions before calling this procedure is undefined behavior.
- Parameters
-
process_name | The name of the current federate, or a placeholder if this is not a federate. |
process_names | The names of all federates, separated by commas, or NULL if that information is not available. |
process_id | The ID of the current federate, or -1 if this is the RTI. 0 if unfederated. |
max_num_local_threads | An upper bound on the number of threads created by this process. |
◆ lf_tracing_global_shutdown()
void lf_tracing_global_shutdown |
( |
| ) |
|
Shut down the tracing module. Calling other API functions after calling this procedure is undefined behavior.
◆ lf_tracing_register_trace_event()
Register a kind of trace event. This should be called before tracepoints are reached.
- Parameters
-
description | A description of some trace events which may be received in the future. This may be invoked after many tracepoints have already been recorded but should be invoked early. |
◆ lf_tracing_set_start_time()
void lf_tracing_set_start_time |
( |
int64_t | start_time | ) |
|
Give the tracing module access to the start time. This may be invoked after many tracepoints have already been recorded but should be invoked early.
◆ lf_tracing_tracepoint()
Submit a tracepoint from the given worker to the tracing module.
◆ lf_version_tracing()
Return a description of the compile-time properties of the current plugin.