scheduler.hh (13072:f2b83208ab54) | scheduler.hh (13076:c9e2a8bfe907) |
---|---|
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 --- 147 unchanged lines hidden (view full) --- 156 void process(); 157 }; 158 159 typedef std::map<Tick, TimeSlot *> TimeSlots; 160 161 Scheduler(); 162 ~Scheduler(); 163 | 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 --- 147 unchanged lines hidden (view full) --- 156 void process(); 157 }; 158 159 typedef std::map<Tick, TimeSlot *> TimeSlots; 160 161 Scheduler(); 162 ~Scheduler(); 163 |
164 void clear(); 165 |
|
164 const std::string name() const { return "systemc_scheduler"; } 165 166 uint64_t numCycles() { return _numCycles; } 167 Process *current() { return _current; } 168 169 void initPhase(); 170 171 // Register a process with the scheduler. --- 235 unchanged lines hidden --- | 166 const std::string name() const { return "systemc_scheduler"; } 167 168 uint64_t numCycles() { return _numCycles; } 169 Process *current() { return _current; } 170 171 void initPhase(); 172 173 // Register a process with the scheduler. --- 235 unchanged lines hidden --- |