reactor-c
C Runtime for Lingua Franca
|
This struct holds all the state associated with tracing in a single environment. Each environment which has tracing enabled will have such a struct on its environment struct. More...
#include <trace_impl.h>
Data Fields | |
trace_record_nodeps_t ** | _lf_trace_buffer |
size_t * | _lf_trace_buffer_size |
size_t | _lf_number_of_trace_buffers |
int | _lf_trace_stop |
FILE * | _lf_trace_file |
char | filename [TRACE_MAX_FILENAME_LENGTH] |
object_description_t | _lf_trace_object_descriptions [TRACE_OBJECT_TABLE_SIZE] |
size_t | _lf_trace_object_descriptions_size |
bool | _lf_trace_header_written |
This struct holds all the state associated with tracing in a single environment. Each environment which has tracing enabled will have such a struct on its environment struct.
size_t trace_t::_lf_number_of_trace_buffers |
The number of trace buffers allocated when tracing starts.
trace_record_nodeps_t** trace_t::_lf_trace_buffer |
Array of buffers into which traces are written. When a buffer becomes full, the contents is flushed to the file, which will create a significant pause in the calling thread.
size_t* trace_t::_lf_trace_buffer_size |
FILE* trace_t::_lf_trace_file |
The file into which traces are written.
bool trace_t::_lf_trace_header_written |
Indicator that the trace header information has been written to the file.
object_description_t trace_t::_lf_trace_object_descriptions[TRACE_OBJECT_TABLE_SIZE] |
Table of pointers to a description of the object.
size_t trace_t::_lf_trace_object_descriptions_size |
int trace_t::_lf_trace_stop |
Marker that tracing is stopping or has stopped.
char trace_t::filename[TRACE_MAX_FILENAME_LENGTH] |
The file name where the traces are written