scheduler.cc (12961:9bd3a469fd11) scheduler.cc (12962:004cc9133bd6)
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

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

32#include "base/fiber.hh"
33#include "base/logging.hh"
34#include "sim/eventq.hh"
35
36namespace sc_gem5
37{
38
39Scheduler::Scheduler() :
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

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

32#include "base/fiber.hh"
33#include "base/logging.hh"
34#include "sim/eventq.hh"
35
36namespace sc_gem5
37{
38
39Scheduler::Scheduler() :
40 eq(nullptr), _pendingCurr(0), _pendingFuture(0),
41 readyEvent(this, false, ReadyPriority),
40 eq(nullptr), readyEvent(this, false, ReadyPriority),
42 pauseEvent(this, false, PausePriority),
43 stopEvent(this, false, StopPriority),
44 scMain(nullptr), _started(false), _paused(false), _stopped(false),
45 maxTickEvent(this, false, MaxTickPriority),
46 _numCycles(0), _current(nullptr), initReady(false)
47{}
48
49void

--- 196 unchanged lines hidden ---
41 pauseEvent(this, false, PausePriority),
42 stopEvent(this, false, StopPriority),
43 scMain(nullptr), _started(false), _paused(false), _stopped(false),
44 maxTickEvent(this, false, MaxTickPriority),
45 _numCycles(0), _current(nullptr), initReady(false)
46{}
47
48void

--- 196 unchanged lines hidden ---