22#define _LF_TRACE_FAILURE(trace_file) \
24 fprintf(stderr, "ERROR: Access to trace file failed.\n"); \
34#define BUFFER_SIZE 1024
int64_t instant_t
Time instant.
Definition tag.h:101
FILE * open_file(const char *path, const char *mode)
Open the specified file for reading or writing.
char * get_object_description(void *reactor, int *index)
Get the description of the object pointed to by the specified pointer.
void usage()
Print a usage message.
int read_trace()
Read the trace from the trace_file and put it in the trace global variable.
size_t read_header()
Read header information.
char * root_name(const char *path)
Return the root file name from the given path.
char * get_trigger_name(void *trigger, int *index)
Get the trigger name for the specified pointer.
void print_table()
Print the object to description table.
static const char * trace_event_names[]
String description of event types.
Definition trace_types.h:86
Definitions for the C target of Lingua Franca shared by threaded and unthreaded versions.
A trace record that gets written in binary to the trace file in the default implementation.
Definition tracepoint.h:52
API for the tracing module that records runtime events for debugging and analysis.
object_description_t * object_table