scheduler.cc (13701:d84e5d2979a7) | scheduler.cc (13702:f2d184ad0886) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 36 unchanged lines hidden (view full) --- 45{ 46 47Scheduler::Scheduler() : 48 eq(nullptr), readyEvent(this, false, ReadyPriority), 49 pauseEvent(this, false, PausePriority), 50 stopEvent(this, false, StopPriority), _throwUp(nullptr), 51 starvationEvent(this, false, StarvationPriority), 52 _elaborationDone(false), _started(false), _stopNow(false), | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 36 unchanged lines hidden (view full) --- 45{ 46 47Scheduler::Scheduler() : 48 eq(nullptr), readyEvent(this, false, ReadyPriority), 49 pauseEvent(this, false, PausePriority), 50 stopEvent(this, false, StopPriority), _throwUp(nullptr), 51 starvationEvent(this, false, StarvationPriority), 52 _elaborationDone(false), _started(false), _stopNow(false), |
53 _status(StatusOther), maxTickEvent(this, false, MaxTickPriority), | 53 _status(StatusOther), maxTick(::MaxTick), 54 maxTickEvent(this, false, MaxTickPriority), |
54 timeAdvancesEvent(this, false, TimeAdvancesPriority), _numCycles(0), | 55 timeAdvancesEvent(this, false, TimeAdvancesPriority), _numCycles(0), |
55 _changeStamp(0), _current(nullptr), initDone(false), runOnce(false) | 56 _changeStamp(0), _current(nullptr), initDone(false), runToTime(true), 57 runOnce(false) |
56{} 57 58Scheduler::~Scheduler() 59{ 60 // Clear out everything that belongs to us to make sure nobody tries to 61 // clear themselves out after the scheduler goes away. 62 clear(); 63} --- 446 unchanged lines hidden --- | 58{} 59 60Scheduler::~Scheduler() 61{ 62 // Clear out everything that belongs to us to make sure nobody tries to 63 // clear themselves out after the scheduler goes away. 64 clear(); 65} --- 446 unchanged lines hidden --- |