public class ExternalEventTimedTrace extends ExternalEvent
The Experiment
class uses ExternalEventTimedTrace
events to write the start and stop time of the trace period as true time into
the trace file.
Constructor and Description |
---|
ExternalEventTimedTrace(java.lang.String trueTime,
int refUnit,
java.lang.String what,
Model owner)
Constructs an ExternalEventTimedTrace with the given true time, description
and model.
|
Modifier and Type | Method and Description |
---|---|
void |
eventRoutine()
Sends a trace note with the description and the true time including the
time unit.
|
schedule, schedule, schedule, schedule, scheduleAfter, scheduleBefore, schedulePreempt
getNumberOfEntities, getRealTimeConstraint, getSchedulingPriority, isExternal, setRealTimeConstraint, setSchedulingPriority
assignReporter, cancel, getCorrespondingReportable, isCurrent, isScheduled, rename, reSchedule, reSchedule, reSchedulePreempt, scheduledNext, setCorrespondingReportable
current, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn
getName, getQuotedName, toString
public ExternalEventTimedTrace(java.lang.String trueTime, int refUnit, java.lang.String what, Model owner)
trueTime
- String : the true time value to be written into the trace filewhat
- String : a short description of the true time valueowner
- Model : the model this event shall belong topublic void eventRoutine()
eventRoutine
in class ExternalEvent