reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
trace_types.h
Go to the documentation of this file.
1
10#ifndef TRACE_TYPES_H
11#define TRACE_TYPES_H
12
77
81static const char* trace_event_names[] = {
82 "Reaction starts",
83 "Reaction ends",
84 "Reaction deadline missed",
85 "Schedule called",
86 "User-defined event",
87 "User-defined valued event",
88 "Worker wait starts",
89 "Worker wait ends",
90 "Scheduler advancing time starts",
91 "Scheduler advancing time ends",
92 "Federated marker",
93 // Sending messages
94 "Sending ACK",
95 "Sending FAILED",
96 "Sending TIMESTAMP",
97 "Sending NET",
98 "Sending LTC",
99 "Sending STOP_REQ",
100 "Sending STOP_REQ_REP",
101 "Sending STOP_GRN",
102 "Sending FED_ID",
103 "Sending PTAG",
104 "Sending TAG",
105 "Sending REJECT",
106 "Sending RESIGN",
107 "Sending PORT_ABS",
108 "Sending CLOSE_RQ",
109 "Sending TAGGED_MSG",
110 "Sending P2P_TAGGED_MSG",
111 "Sending MSG",
112 "Sending P2P_MSG",
113 "Sending ADR_AD",
114 "Sending ADR_QR",
115 // Receiving messages
116 "Receiving ACK",
117 "Receiving FAILED",
118 "Receiving TIMESTAMP",
119 "Receiving NET",
120 "Receiving LTC",
121 "Receiving STOP_REQ",
122 "Receiving STOP_REQ_REP",
123 "Receiving STOP_GRN",
124 "Receiving FED_ID",
125 "Receiving PTAG",
126 "Receiving TAG",
127 "Receiving REJECT",
128 "Receiving RESIGN",
129 "Receiving PORT_ABS",
130 "Receiving CLOSE_RQ",
131 "Receiving TAGGED_MSG",
132 "Receiving P2P_TAGGED_MSG",
133 "Receiving MSG",
134 "Receiving P2P_MSG",
135 "Receiving ADR_AD",
136 "Receiving ADR_QR",
137 "Receiving UNIDENTIFIED",
138};
139
140static inline void _suppress_unused_variable_warning_for_static_variable() { (void)trace_event_names; }
141
142#endif
trace_event_t
Definition trace_types.h:18
@ scheduler_advancing_time_ends
Definition trace_types.h:28
@ send_STOP_REQ
Definition trace_types.h:36
@ receive_TAGGED_MSG
Definition trace_types.h:68
@ send_P2P_TAGGED_MSG
Definition trace_types.h:47
@ receive_STOP_REQ_REP
Definition trace_types.h:59
@ send_TAG
Definition trace_types.h:41
@ user_value
Definition trace_types.h:24
@ send_PORT_ABS
Definition trace_types.h:44
@ send_MSG
Definition trace_types.h:48
@ receive_RESIGN
Definition trace_types.h:65
@ receive_PTAG
Definition trace_types.h:62
@ send_ACK
Definition trace_types.h:31
@ receive_UNIDENTIFIED
Definition trace_types.h:74
@ send_ADR_QR
Definition trace_types.h:51
@ receive_MSG
Definition trace_types.h:70
@ send_STOP_GRN
Definition trace_types.h:38
@ send_TIMESTAMP
Definition trace_types.h:33
@ schedule_called
Definition trace_types.h:22
@ receive_REJECT
Definition trace_types.h:64
@ send_FED_ID
Definition trace_types.h:39
@ send_REJECT
Definition trace_types.h:42
@ receive_P2P_TAGGED_MSG
Definition trace_types.h:69
@ send_ADR_AD
Definition trace_types.h:50
@ reaction_ends
Definition trace_types.h:20
@ scheduler_advancing_time_starts
Definition trace_types.h:27
@ reaction_starts
Definition trace_types.h:19
@ send_LTC
Definition trace_types.h:35
@ send_TAGGED_MSG
Definition trace_types.h:46
@ send_STOP_REQ_REP
Definition trace_types.h:37
@ reaction_deadline_missed
Definition trace_types.h:21
@ receive_ACK
Definition trace_types.h:53
@ receive_ADR_AD
Definition trace_types.h:72
@ federated
Definition trace_types.h:29
@ worker_wait_starts
Definition trace_types.h:25
@ send_NET
Definition trace_types.h:34
@ receive_FAILED
Definition trace_types.h:54
@ receive_TAG
Definition trace_types.h:63
@ send_P2P_MSG
Definition trace_types.h:49
@ receive_CLOSE_RQ
Definition trace_types.h:67
@ send_RESIGN
Definition trace_types.h:43
@ receive_LTC
Definition trace_types.h:57
@ receive_NET
Definition trace_types.h:56
@ receive_STOP_REQ
Definition trace_types.h:58
@ NUM_EVENT_TYPES
Definition trace_types.h:75
@ receive_TIMESTAMP
Definition trace_types.h:55
@ receive_FED_ID
Definition trace_types.h:61
@ send_FAILED
Definition trace_types.h:32
@ receive_P2P_MSG
Definition trace_types.h:71
@ receive_STOP_GRN
Definition trace_types.h:60
@ user_event
Definition trace_types.h:23
@ receive_ADR_QR
Definition trace_types.h:73
@ send_PTAG
Definition trace_types.h:40
@ receive_PORT_ABS
Definition trace_types.h:66
@ worker_wait_ends
Definition trace_types.h:26
@ send_CLOSE_RQ
Definition trace_types.h:45