38a39
> #include "systemc/utils/tracefile.hh"
51,52c52,53
< _numCycles(0), _changeStamp(0), _current(nullptr), initDone(false),
< runOnce(false)
---
> timeAdvancesEvent(this, false, TimeAdvancesPriority), _numCycles(0),
> _changeStamp(0), _current(nullptr), initDone(false), runOnce(false)
88a90,91
> if (timeAdvancesEvent.scheduled())
> deschedule(&timeAdvancesEvent);
136a140,141
>
> scheduleTimeAdvancesEvent();
265a271,272
> scheduleTimeAdvancesEvent();
>
269a277
> status(StatusEvaluate);
284a293,294
> if (!traceFiles.empty())
> trace(true);
369a380
> scheduleTimeAdvancesEvent();
431a443,449
> void
> Scheduler::trace(bool delta)
> {
> for (auto tf: traceFiles)
> tf->trace(delta);
> }
>