/gem5/src/sim/ |
H A D | debug.cc | 53 DebugBreakEvent(Tick when); 61 DebugBreakEvent::DebugBreakEvent(Tick when) argument 62 : GlobalEvent(when, Debug_Break_Pri, AutoDelete) 87 schedBreak(Tick when) argument 89 new DebugBreakEvent(when); 111 takeCheckpoint(Tick when) argument 113 if (!when) 114 when = curTick() + 1; 115 exitSimLoop("checkpoint", 0, when, 0);
|
H A D | debug.hh | 43 * @param when the tick to break 45 void schedBreak(Tick when); 55 * Cause the simulator to execute a breakpoint when 62 * @param when the cycle to break 64 void takeCheckpoint(Tick when);
|
H A D | eventq_impl.hh | 42 EventQueue::schedule(Event *event, Tick when, bool global) argument 44 assert(when >= getCurTick()); 48 event->setWhen(when, this); 87 EventQueue::reschedule(Event *event, Tick when, bool always) argument 89 assert(when >= getCurTick()); 100 event->setWhen(when, this);
|
H A D | eventq.hh | 133 /// enabling trace output), so we don't miss any action when 196 // when+priority. All events in the same bin will be stored in a 209 Tick _when; //!< timestamp when event should be processed 219 /// more difficult. Thus we use a global counter value when 234 setWhen(Tick when, EventQueue *q) argument 236 _when = when; 298 * typically happens when events are descheduled or have been 373 * This member function is invoked when the event is processed 401 Tick when() const { return _when; } function in class:Event 418 return l.when() < 636 serviceEvents(Tick when) argument 744 schedule(Event &event, Tick when) argument 756 reschedule(Event &event, Tick when, bool always = false) argument 762 schedule(Event *event, Tick when) argument 774 reschedule(Event *event, Tick when, bool always = false) argument [all...] |
H A D | global_event.hh | 97 // queues are always locked when servicing events (calling 99 // locked when entering this method. We need to unlock it 126 void schedule(Tick when); 138 Tick when() const function in class:BaseGlobalEvent 141 return barrierEvent[0]->when(); 145 void reschedule(Tick when); 170 * taken when the event is reached. All threads will synchronize at a 193 GlobalEvent(Tick when, Priority p, Flags f) argument 196 schedule(when); 225 GlobalSyncEvent(Tick when, Tic argument [all...] |
H A D | stat_control.hh | 74 * @param when When the dump and/or reset should occur. 77 void schedStatEvent(bool dump, bool reset, Tick when = curTick(),
|
H A D | sim_exit.hh | 44 /// Register a callback to be called when Python exits. Defined in 53 Tick when = curTick(), Tick repeat = 0,
|
H A D | global_event.cc | 53 void BaseGlobalEvent::schedule(Tick when) argument 78 mainEventQueue[i]->schedule(barrierEvent[i], when, true); 97 void BaseGlobalEvent::reschedule(Tick when) argument 104 mainEventQueue[i]->reschedule(barrierEvent[i], when); 106 mainEventQueue[i]->schedule(barrierEvent[i], when, true);
|
H A D | sim_events.cc | 57 GlobalSimLoopExitEvent::GlobalSimLoopExitEvent(Tick when, argument 60 : GlobalEvent(when, Sim_Exit_Pri, IsExitEvent), 90 exitSimLoop(const std::string &message, int exit_code, Tick when, Tick repeat, argument 93 warn_if(serialize && (when != curTick() || repeat), 97 new GlobalSimLoopExitEvent(when + simQuantum, message, exit_code, repeat);
|
H A D | insttracer.hh | 61 Tick when; member in class:Trace::InstRecord 73 // types (e.g, addresses for memory ops) or when particular 154 : when(_when), thread(_thread), staticInst(_staticInst), pc(_pc), 171 void setWhen(Tick new_when) { when = new_when; } 227 Tick getWhen() const { return when; } 259 getInstRecord(Tick when, ThreadContext *tc,
|
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_event_queue.h | 41 observed (the only exception is when notifications are explicitly 67 virtual void notify (double when, sc_time_unit base) =0; 68 virtual void notify (const sc_time& when) =0; 94 inline virtual void notify (double when, sc_time_unit base); 95 virtual void notify (const sc_time& when); 111 void cancel (const sc_time& when); 112 void cancel (double when, sc_time_unit base); 118 unsigned pending(const sc_time& when) const; 119 unsigned pending(double when, sc_time_unit base) const; 133 void sc_event_queue::notify (double when, sc_time_uni argument [all...] |
H A D | sc_event_queue.cpp | 76 void sc_event_queue::notify (const sc_time& when) argument 79 sc_time* t = new sc_time( when+sc_time_stamp() ); 81 m_e.notify( when ); 111 // eliminate source line number skew when check-ins are done.
|
/gem5/src/arch/arm/tracers/ |
H A D | tarmac_tracer.cc | 76 TarmacTracer::getInstRecord(Tick when, ThreadContext *tc, argument 83 if (when < startTick || when > endTick) 88 return new TarmacTracerRecordV8(when, tc, staticInst, pc, *this, 92 return new TarmacTracerRecord(when, tc, staticInst, pc, *this,
|
/gem5/src/mem/ |
H A D | qport.hh | 90 * @param when Absolute time (in ticks) to send packet 92 void schedTimingResp(PacketPtr pkt, Tick when) argument 93 { respQueue.schedSendTiming(pkt, when); } 146 * @param when Absolute time (in ticks) to send packet 148 void schedTimingReq(PacketPtr pkt, Tick when) argument 149 { reqQueue.schedSendTiming(pkt, when); } 155 * @param when Absolute time (in ticks) to send packet 157 void schedTimingSnoopResp(PacketPtr pkt, Tick when) argument 158 { snoopRespQueue.schedSendTiming(pkt, when); }
|
H A D | packet_queue.cc | 107 PacketQueue::schedSendTiming(PacketPtr pkt, Tick when) argument 109 DPRINTF(PacketQueue, "%s for %s address %x size %d when %lu ord: %i\n", 110 __func__, pkt->cmdString(), pkt->getAddr(), pkt->getSize(), when, 114 assert(when >= curTick()); 141 if ((forceOrder && it->pkt->matchAddr(pkt)) || it->tick <= when) { 144 transmitList.emplace(++it, when, pkt); 150 transmitList.emplace_front(when, pkt); 151 schedSendEvent(when); 155 PacketQueue::schedSendEvent(Tick when) argument 164 if (when ! [all...] |
H A D | mem_delay.cc | 92 const Tick when = curTick() + parent.delayResp(pkt); local 94 parent.slavePort.schedTimingResp(pkt, when); 141 const Tick when = curTick() + parent.delayReq(pkt); local 143 parent.masterPort.schedTimingReq(pkt, when); 161 const Tick when = curTick() + parent.delaySnoopResp(pkt); local 163 parent.masterPort.schedTimingSnoopResp(pkt, when);
|
/gem5/src/systemc/core/ |
H A D | sched_event.hh | 58 when(w); 83 void when(Tick w) { _when = w; } function in class:sc_gem5::ScEvent 84 Tick when() { return _when; } function in class:sc_gem5::ScEvent
|
/gem5/src/cpu/ |
H A D | inteltrace.hh | 67 getInstRecord(Tick when, ThreadContext *tc, argument 74 return new IntelTraceRecord(when, tc, staticInst, pc, macroStaticInst);
|
H A D | exetrace.hh | 71 getInstRecord(Tick when, ThreadContext *tc, argument 78 return new ExeTracerRecord(when, tc,
|
H A D | inteltrace.cc | 51 ccprintf(outs, "%7d ) ", when);
|
H A D | inst_pb_trace.hh | 68 InstPBTraceRecord(InstPBTrace& _tracer, Tick when, ThreadContext *tc, argument 71 : InstRecord(when, tc, si, pc, mi), tracer(_tracer) 74 /** called by the cpu when the instruction commits. 91 InstPBTraceRecord* getInstRecord(Tick when, ThreadContext *tc, const
|
H A D | nativetrace.hh | 81 getInstRecord(Tick when, ThreadContext *tc, argument 85 return new NativeTraceRecord(this, when, tc,
|
/gem5/util/systemc/gem5_within_systemc/ |
H A D | sc_logger.hh | 72 void logMessage(Tick when, const std::string &name,
|
/gem5/src/base/ |
H A D | trace.cc | 68 /* Set a default logger to cerr when no other logger is set */ 105 Logger::dump(Tick when, const std::string &name, const void *d, int len) argument 136 logMessage(when, name, line.str()); 144 OstreamLogger::logMessage(Tick when, const std::string &name, argument 150 if (when != MaxTick) 151 ccprintf(stream, "%7d: ", when);
|
H A D | trace.hh | 60 void dprintf(Tick when, const std::string &name, const char *fmt, argument 68 logMessage(when, name, line.str()); 72 virtual void dump(Tick when, const std::string &name, 76 virtual void logMessage(Tick when, const std::string &name, 96 * <when>: <name>: <message-body> */ 106 void logMessage(Tick when, const std::string &name, 137 // Return the global context name "global". This function gets called when 142 // functionality). This is useful when using DPRINTF
|