lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.generator.c.CTracingGenerator Class Reference

Generates C code to support tracing. More...

Static Public Member Functions

static String generateTraceTableEntries (ReactorInstance instance)
 If tracing is turned on, then generate code that records the full name of the specified reactor instance in the trace table.

Detailed Description

Generates C code to support tracing.

Author
Edward A. Lee
Soroush Bateni
Hou Seng Wong

Member Function Documentation

◆ generateTraceTableEntries()

String org.lflang.generator.c.CTracingGenerator.generateTraceTableEntries ( ReactorInstance instance)
static

If tracing is turned on, then generate code that records the full name of the specified reactor instance in the trace table.

If tracing is not turned on, do nothing.

If tracing is turned on, record the address of this reaction in the _lf_trace_object_descriptions table that is used to generate the header information in the trace file.

Parameters
instanceThe reactor instance.

The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/generator/c/CTracingGenerator.java