reactor-c 1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
trace_record_t Struct Reference

A trace record that gets written in binary to the trace file in the default implementation. More...

#include <tracepoint.h>

Data Fields

int dst_id
 The ID number of the destination (e.g., reaction number or federate ID) or -1 if not applicable.
trace_event_t event_type
 The type of event being traced (e.g., reaction start, reaction end, etc.)
interval_t extra_delay
 Additional delay specified for the event, if applicable (e.g., for scheduled events)
instant_t logical_time
 The logical time at which the event occurred.
microstep_t microstep
 The microstep at which the event occurred.
instant_t physical_time
 The physical time at which the event occurred.
void * pointer
 Pointer identifying the record, typically points to the self struct of a reactor.
int src_id
 The ID number of the source (e.g., worker thread or federate ID) or -1 if not applicable.
trigger_ttrigger
 Pointer to the trigger associated with this event, if applicable (e.g., for scheduled events)

Detailed Description

A trace record that gets written in binary to the trace file in the default implementation.

Field Documentation

◆ dst_id

int trace_record_t::dst_id

The ID number of the destination (e.g., reaction number or federate ID) or -1 if not applicable.

◆ event_type

trace_event_t trace_record_t::event_type

The type of event being traced (e.g., reaction start, reaction end, etc.)

◆ extra_delay

interval_t trace_record_t::extra_delay

Additional delay specified for the event, if applicable (e.g., for scheduled events)

◆ logical_time

instant_t trace_record_t::logical_time

The logical time at which the event occurred.

◆ microstep

microstep_t trace_record_t::microstep

The microstep at which the event occurred.

◆ physical_time

instant_t trace_record_t::physical_time

The physical time at which the event occurred.

◆ pointer

void* trace_record_t::pointer

Pointer identifying the record, typically points to the self struct of a reactor.

◆ src_id

int trace_record_t::src_id

The ID number of the source (e.g., worker thread or federate ID) or -1 if not applicable.

◆ trigger

trigger_t* trace_record_t::trigger

Pointer to the trigger associated with this event, if applicable (e.g., for scheduled events)


The documentation for this struct was generated from the following file:
  • /Users/runner/work/reactor-c/reactor-c/include/core/tracepoint.h