Deleted Added
sdiff udiff text old ( 13194:9c6b495e650c ) new ( 13203:76ee4971fd9e )
full compact
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

--- 324 unchanged lines hidden (view full) ---

333 StatusOther = 0,
334 StatusDelta,
335 StatusUpdate,
336 StatusTiming,
337 StatusPaused,
338 StatusStopped
339 };
340
341 bool paused() { return status() == StatusPaused; }
342 bool stopped() { return status() == StatusStopped; }
343 bool inDelta() { return status() == StatusDelta; }
344 bool inUpdate() { return status() == StatusUpdate; }
345 bool inTiming() { return status() == StatusTiming; }
346
347 uint64_t changeStamp() { return _changeStamp; }
348

--- 56 unchanged lines hidden (view full) ---

405 return (readyListMethods.empty() && readyListThreads.empty() &&
406 updateList.empty() && deltas.empty() &&
407 (timeSlots.empty() || timeSlots.begin()->first > maxTick) &&
408 initList.empty());
409 }
410 EventWrapper<Scheduler, &Scheduler::pause> starvationEvent;
411 void scheduleStarvationEvent();
412
413 bool _started;
414 bool _stopNow;
415
416 Status _status;
417
418 Tick maxTick;
419 Tick lastReadyTick;
420 void

--- 55 unchanged lines hidden ---