scheduler.hh (13144:61e0f3230787) scheduler.hh (13154:f86c71dac456)
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

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

381 initList.empty());
382 }
383 EventWrapper<Scheduler, &Scheduler::pause> starvationEvent;
384 void scheduleStarvationEvent();
385
386 bool _started;
387 bool _paused;
388 bool _stopped;
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

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

381 initList.empty());
382 }
383 EventWrapper<Scheduler, &Scheduler::pause> starvationEvent;
384 void scheduleStarvationEvent();
385
386 bool _started;
387 bool _paused;
388 bool _stopped;
389 bool _stopNow;
389
390 Tick maxTick;
391 Tick lastReadyTick;
392 void
393 maxTickFunc()
394 {
395 if (lastReadyTick != getCurTick())
396 _changeStamp++;

--- 35 unchanged lines hidden ---
390
391 Tick maxTick;
392 Tick lastReadyTick;
393 void
394 maxTickFunc()
395 {
396 if (lastReadyTick != getCurTick())
397 _changeStamp++;

--- 35 unchanged lines hidden ---