Deleted Added
sdiff udiff text old ( 13257:c59a22cb44d7 ) new ( 13260:4d18f1d20093 )
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

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

204 // If a process is running, schedule it/us to run again.
205 if (_current)
206 readyListMethods.pushFirst(_current);
207 // Schedule p to run first.
208 readyListMethods.pushFirst(p);
209 yield();
210 }
211
212 // Set an event queue for scheduling events.
213 void setEventQueue(EventQueue *_eq) { eq = _eq; }
214
215 // Get the current time according to gem5.
216 Tick getCurTick() { return eq ? eq->getCurTick() : 0; }
217
218 Tick
219 delayed(const ::sc_core::sc_time &delay)

--- 288 unchanged lines hidden ---