root / src / eventlog / eventlogentries.txt @ 636cbdd5
History | View | Annotate | Download (6.98 KB)
1 |
SB SimulationBeginEntry // recorded at the first event |
---|---|
2 |
{ |
3 |
v int version // OMNeT++ version, e.g. 0x401 (=1025) is release 4.1 |
4 |
rid string runId // identifies the simulation run |
5 |
} |
6 |
|
7 |
SE SimulationEndEntry // optional last line of an event log file |
8 |
{ |
9 |
} |
10 |
|
11 |
BU BubbleEntry // display a bubble message |
12 |
{ |
13 |
id int moduleId // id of the module which printed the bubble message |
14 |
txt string text // displayed message text |
15 |
} |
16 |
|
17 |
MB ModuleMethodBeginEntry // beginning of a call to another module |
18 |
{ |
19 |
sm int fromModuleId // id of the caller module |
20 |
tm int toModuleId // id of the module being called |
21 |
m string method // C++ method name |
22 |
} |
23 |
|
24 |
ME ModuleMethodEndEntry // end of a call to another module |
25 |
{ |
26 |
} |
27 |
|
28 |
MC ModuleCreatedEntry // creating a module |
29 |
{ |
30 |
id int moduleId // id of the new module |
31 |
c string moduleClassName // C++ class name of the module |
32 |
t string nedTypeName // fully qualified NED type name |
33 |
pid int parentModuleId -1 // id of the parent module |
34 |
n string fullName // full dotted hierarchical module name |
35 |
cm bool compoundModule false // whether module is a simple or compound module |
36 |
} |
37 |
|
38 |
MD ModuleDeletedEntry // deleting a module |
39 |
{ |
40 |
id int moduleId // id of the module being deleted |
41 |
} |
42 |
|
43 |
MR ModuleReparentedEntry // reparenting a module |
44 |
{ |
45 |
id int moduleId // id of the module being reparented |
46 |
p int newParentModuleId // id of the new parent module |
47 |
} |
48 |
|
49 |
GC GateCreatedEntry // gate created |
50 |
{ |
51 |
m int moduleId // module in which the gate was created |
52 |
g int gateId // id of the new gate |
53 |
n string name // gate name |
54 |
i int index -1 // gate index if vector, -1 otherwise |
55 |
o bool isOutput // whether the gate is input or output |
56 |
} |
57 |
|
58 |
GD GateDeletedEntry // gate deleted |
59 |
{ |
60 |
m int moduleId // module in which the gate was created |
61 |
g int gateId // id of the deleted gate |
62 |
} |
63 |
|
64 |
CC ConnectionCreatedEntry // creating a connection |
65 |
{ |
66 |
sm int sourceModuleId // id of the source module identifying the connection |
67 |
sg int sourceGateId // id of the gate at the source module identifying the connection |
68 |
dm int destModuleId // id of the destination module |
69 |
dg int destGateId // id of the gate at the destination module |
70 |
//XXX channel, channel attributes, etc |
71 |
} |
72 |
|
73 |
CD ConnectionDeletedEntry // deleting a connection |
74 |
{ |
75 |
sm int sourceModuleId // id of the source module identifying the connection |
76 |
sg int sourceGateId // id of the gate at the source module identifying the connection |
77 |
} |
78 |
|
79 |
CS ConnectionDisplayStringChangedEntry // a connection display string change |
80 |
{ |
81 |
sm int sourceModuleId // id of the source module identifying the connection |
82 |
sg int sourceGateId // id of the gate at the source module identifying the connection |
83 |
d string displayString // the new display string |
84 |
} |
85 |
|
86 |
MS ModuleDisplayStringChangedEntry // a module display string change |
87 |
{ |
88 |
id int moduleId // id of the module |
89 |
d string displayString // the new display string |
90 |
} |
91 |
|
92 |
E EventEntry // an event that is processing of a message |
93 |
{ |
94 |
# eventnumber_t eventNumber // unique event number |
95 |
t simtime_t simulationTime // simulation time when the event occurred |
96 |
m int moduleId // id of the processing module |
97 |
ce eventnumber_t causeEventNumber -1 // event number from which the message being processed was sent, or -1 if the message was sent from initialize |
98 |
msg long messageId // lifetime-unique id of the message being processed |
99 |
d simtime_t duration 0 // duration of the event |
100 |
} |
101 |
|
102 |
EE EventEndEntry //indicates end of an event |
103 |
{ |
104 |
e eventnumber_t eventNumber // event number of the corresponding event |
105 |
c long complexity // measured complexity of event in microseconds (stored in simtime_t for compatibility issues) |
106 |
} |
107 |
|
108 |
CE CancelEventEntry // canceling an event caused by self message |
109 |
{ |
110 |
id long messageId // id of the message being removed from the FES |
111 |
pe eventnumber_t previousEventNumber -1 // event number from which the message being cancelled was sent, or -1 if the message was sent from initialize |
112 |
} |
113 |
|
114 |
BS BeginSendEntry // beginning to send a message |
115 |
{ |
116 |
id long messageId // life time unique id of the message being sent |
117 |
//XXX what about writing dup, encapsulate/decapsulate as separate lines? |
118 |
tid long messageTreeId // id of the message inherited by dup |
119 |
eid long messageEncapsulationId -1 // id of the message inherited by encapsulation |
120 |
etid long messageEncapsulationTreeId -1 // id of the message inherited by both dup and encapsulation |
121 |
c string messageClassName // C++ class name of the message |
122 |
n string messageFullName // message name |
123 |
pe eventnumber_t previousEventNumber -1 // event number from which the message being sent was processed, or -1 if the message has not yet been processed before |
124 |
k short messageKind 0 // message kind |
125 |
p short messagePriority 0 // message priority |
126 |
l int64 messageLength 0 // message length in bits |
127 |
er bool hasBitError false // true indicates that the message has bit errors |
128 |
d string detail NULL // detailed information of message content when recording message data is turned on |
129 |
//XXX and many other fields, including message contents |
130 |
} |
131 |
|
132 |
ES EndSendEntry // prediction of the arrival of a message |
133 |
{ |
134 |
t simtime_t arrivalTime // when the message will arrive to its destination module |
135 |
is bool isReceptionStart false // true indicates the message arrives with the first bit |
136 |
} |
137 |
|
138 |
SD SendDirectEntry // sending a message directly to a destination gate |
139 |
{ |
140 |
sm int senderModuleId // id of the source module from which the message is being sent |
141 |
dm int destModuleId // id of the destination module to which the message is being sent |
142 |
dg int destGateId // id of the gate at the destination module to which the message is being sent |
143 |
pd simtime_t propagationDelay 0 // propagation delay as the message is propagated through the connection |
144 |
td simtime_t transmissionDelay 0 // transmission duration as the whole message is sent from the source gate |
145 |
} |
146 |
|
147 |
SH SendHopEntry // sending a message through a connection identified by its source module and gate id |
148 |
{ |
149 |
sm int senderModuleId // id of the source module from which the message is being sent |
150 |
sg int senderGateId // id of the gate at the source module from which the message is being sent |
151 |
pd simtime_t propagationDelay 0 // propagation delay as the message is propagated through the connection |
152 |
td simtime_t transmissionDelay 0 // transmission duration as the whole message is sent from the source gate |
153 |
} |
154 |
|
155 |
DM DeleteMessageEntry // deleting a message |
156 |
{ |
157 |
id int messageId // id of the message being deleted |
158 |
pe eventnumber_t previousEventNumber -1 // event number from which the message being deleted was sent, or -1 if the message was sent from initialize |
159 |
} |
160 |
|