evprint
Abstract
Displays the next n events in the simulation event list, in order of increasing time values. If the argument “all” is passed, all simulation events are displayed. If an object reference argument is passed, only events that have the specified object as their target are displayed.
Syntax
evprint +<n> | all | #<sched_id> | <objref> [+<n>] | @<time> | @<time1>-<time2>
| Argument | Type | Description |
|---|---|---|
<n> |
integer | Display the next <n> events. |
all |
n/a | Display all events in the event list. |
#<sched_id> |
integer | Display the event with the specified schedule ID. |
<objref> |
integer or string | Display all (or next <n>) events for the specified object. <objref> can be the numeric object ID or the hierarchical name of the object-of-interest.An object ID for this argument can be obtained by using the ODB commands objmap or objid. |
<time> |
double | Display all events scheduled for simulation time <time>. |
<time1>, <time2> |
double | Display all events scheduled for simulation times between <time1> and <time2>. |
Details
The format of the displayed event list is similar to the pending event banner. The following information about each event appears:
- the simulation time at which the event will occur
- the execution ID and schedule ID of the event, and its type
- the execution ID of the source event, and the source object
- the data values associated with the event
- the target module of the event
- event state information, if any exists and if an event state print procedure has been specified with
op_ev_state_install()
If all events are displayed, or the just the next n events, the first event that appears is the immediately pending event.
Example
ODB> evprint +3
..........................................................................
* Time : 15.0 sec, [15s]
* Event : execution ID (49), schedule ID (#46), type (self intrpt)
* Source : execution ID (41), top.pksw1.node_0.src [Objid=11] (processor)
* Data : code (1)
> Module : top.pksw1.node_0.src [Objid=11] (processor) [process id: 0]
..........................................................................
* Time : 15.0 sec, [15s]
* Event : execution ID (50), schedule ID (#48), type (self intrpt)
* Source : execution ID (42), top.pksw1.node_1.src [Objid=22] (processor)
* Data : code (1)
> Module : top.pksw1.node_1.src [Objid=22] (processor) [process id: 2]
..........................................................................
* Time : 15.0 sec, [15s]
* Event : execution ID (51), schedule ID (#50), type (self intrpt)
* Source : execution ID (43), top.pksw1.node_2.src [Objid=33] (processor)
* Data : code (1)
> Module : top.pksw1.node_2.src [Objid=33] (processor) [process id: 4]