/gem5/src/dev/ |
H A D | dma_device.cc | 105 // we might be drained at this point, if so signal the drain event 153 DmaPort::dmaAction(Packet::Command cmd, Addr addr, int size, Event *event, argument 160 DmaReqState *reqState = new DmaReqState(event, size, delay); 169 event ? event->scheduled() : -1); 202 DmaPort::dmaAction(Packet::Command cmd, Addr addr, int size, Event *event, argument 205 return dmaAction(cmd, addr, size, event, data, 314 // ownership to the event queue so that they get freed 433 DmaDoneEventUPtr event(std::move(freeRequests.front())); 435 assert(event); [all...] |
H A D | pixelpump.cc | 118 for (PixelEvent *event : pixelEvents) 119 event->serializeSection(cp, event->name()); 132 // We don't need to reschedule the event here since the event was 135 for (PixelEvent *event : pixelEvents) 136 event->unserializeSection(cp, event->name()); 242 // Schedule a new event to handle the next block of pixels
|
/gem5/src/cpu/ |
H A D | pc_event.hh | 101 bool remove(PCEvent *event); 102 bool schedule(PCEvent *event); 112 range_t equal_range(PCEvent *event) { return equal_range(event->pc()); } argument 129 panic("cannot remove an uninitialized event;");
|
/gem5/src/systemc/tests/systemc/misc/user_guide/newsched/test6/ |
H A D | test6.cpp | 104 if (in1.event()) cout << "Sync1 Out = " << in1.read() << " - "; 105 if (in2.event()) cout << "ASync1 Out = " << in2.read() << " - "; 106 if (in3.event()) cout << "Sync2 Out = " << in3.read() << " - "; 107 if (in4.event()) cout << "ASync2 Out = " << in4.read() << " - ";
|
/gem5/src/systemc/tests/systemc/misc/user_guide/newsched/test7/ |
H A D | test7.cpp | 106 if (in1.event()) cout << "Sync1 Out = " << in1.read() << " - "; 107 if (in2.event()) cout << "ASync1 Out = " << in2.read() << " - "; 108 if (in3.event()) cout << "Sync2 Out = " << in3.read() << " - "; 109 if (in4.event()) cout << "ASync2 Out = " << in4.read() << " - ";
|
/gem5/src/systemc/tests/systemc/misc/user_guide/newsched/test8/ |
H A D | test8.cpp | 115 if (in1.event()) cout << "Sync1 Out = " << in1.read() << " - "; 116 if (in2.event()) cout << "ASync1 Out = " << in2.read() << " - "; 117 if (in3.event()) cout << "Sync2 Out = " << in3.read() << " - "; 118 if (in4.event()) cout << "ASync2 Out = " << in4.read() << " - ";
|
/gem5/src/dev/net/ |
H A D | etherbus.hh | 54 EventFunctionWrapper event; member in class:EtherBus
|
H A D | etherbus.cc | 55 event([this]{ txDone(); }, "ethernet bus completion"), 106 schedule(event, curTick() + delay);
|
/gem5/ext/sst/ |
H A D | ExtMaster.hh | 90 MemEvent *event; member in struct:SST::gem5::ExtMaster::SenderState 91 SenderState(MemEvent* e) : event(e) {}
|
H A D | ExtMaster.cc | 121 ExtMaster::handleEvent(SST::Event* event) argument 127 MemEvent *ev = dynamic_cast<MemEvent*>(event); 200 MemEvent* ev = senderState->event;
|
/gem5/src/sim/ |
H A D | ticked_object.cc | 49 event([this]{ processClockEvent(); }, name(), false, priority), 65 object.schedule(event, object.clockEdge(Cycles(1)));
|
/gem5/src/learning_gem5/part2/ |
H A D | goodbye_object.cc | 37 SimObject(params), event([this]{ processEvent(); }, name() + ".event"), 53 DPRINTF(HelloExample, "Processing the event!\n"); 55 // Actually do the "work" of the event 68 // event to finish the fill 91 schedule(event, curTick() + bandwidth * bytes_copied);
|
/gem5/src/systemc/core/ |
H A D | sensitivity.hh | 129 * Sensitivity to an event or events, which can be static or dynamic. 135 const ::sc_core::sc_event *event; member in class:sc_gem5::SensitivityEvent 138 Sensitivity(p), event(e) 142 void clear() override { delFromEvent(event); } variable 160 for (auto event: events) 161 delFromEvent(event); variable 165 addEvent(const ::sc_core::sc_event *event) argument 167 events.insert(event); 168 addToEvent(event);
|
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_signal_ifs.h | 60 // get the value changed event 71 // was there a value changed event? 72 virtual bool event() const = 0; 104 // get the value changed event 107 // get the positive edge event 110 // get the negative edge event 121 // was there a value changed event? 122 virtual bool event() const = 0; 124 // was there a positive edge event? 127 // was there a negative edge event [all...] |
/gem5/src/systemc/tests/systemc/misc/v1.0/module_name/ |
H A D | module_name.cpp | 202 if (a.event()) cout << "a = " << a << endl; 203 if (b.event()) cout << "b = " << b << endl; 204 if (c.event()) cout << "c = " << c << endl;
|
/gem5/src/arch/arm/ |
H A D | stage2_mmu.cc | 113 : data(_data), numBytes(0), event(_event), parent(_parent), oVAddr(_oVAddr), 136 MemCmd::ReadReq, req->getPaddr(), numBytes, event, data, 140 // event we're done 141 event->process();
|
/gem5/src/dev/virtio/ |
H A D | fs9p.hh | 277 * unable to checkpoint the device in the event that the device 315 DiodDataEvent(VirtIO9PDiod &_parent, int fd, int event) argument 316 : PollEvent(fd, event), parent(_parent) {} 368 SocketDataEvent(VirtIO9PSocket &_parent, int fd, int event) argument 369 : PollEvent(fd, event), parent(_parent) {}
|
/gem5/src/python/m5/ |
H A D | main.py | 224 from . import event 240 # Set the main event queue for the main thread. 241 event.mainq = event.getEventQueue(0) 242 event.setEventQueue(event.mainq) 408 e = event.create(trace.enable, event.Event.Debug_Enable_Pri) 409 event.mainq.schedule(e, options.debug_start) 415 e = event [all...] |
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_spawn_options.h | 82 void set_sensitivity(const sc_event* event) argument 83 { m_sensitive_events.push_back(event); }
|
/gem5/util/ |
H A D | o3-pipeview.py | 230 # Find out the time of the last event - it may not 266 if num_lines == 1 and events[0][2] != 0: # event is not fetch 268 for event in events: 269 if (stages[event[2]]['name'] == 'dispatch' and 272 outfile.write(curr_color + dot * ((event[0] / cycle_time) - pos)) 273 outfile.write(stages[event[2]]['color'] + 274 stages[event[2]]['shorthand']) 276 if event[3] != last_event_time: # event is not the last one 277 curr_color = stages[event[ [all...] |
/gem5/util/minorview/ |
H A D | view.py | 78 # seen in the event file) 165 the model's times array of seen event times""" 352 """Find the event for a changing time and a fixed blob""" 358 event = self.find_event() 360 if event is None: 363 insts = event.find_ided_objects(self.model, self.blob.picChar, 473 def show_event(picChar, event): 474 print '**** Comments for', event.unit, \ 476 for name, value in event.pairs.iteritems(): 478 for comment in event [all...] |
H A D | model.py | 282 print 'TwoDColours: no event data called:', \ 301 print 'TwoDColours: no event data called:', \ 340 """Decode to a 2D grid which has a single occupied row from the event 352 print 'FrameColours: no event data called:', dataName, \ 505 """Time event for a single blob""" 518 """Find instructions/lines mentioned in the blob's event 598 def add_unit_event(self, event): 599 """Add a single event to the model. This must be an event at a 601 if event [all...] |
/gem5/src/dev/serial/ |
H A D | uart8250.cc | 77 Uart8250::scheduleIntr(Event *event) argument 81 event->name(), curTick() + interval); 82 if (!event->scheduled()) 83 schedule(event, curTick() + interval); 85 reschedule(event, curTick() + interval);
|
/gem5/configs/example/ |
H A D | hmctest.py | 108 event = m5.simulate(10000000000) 111 event.getCause(), 112 event.getCode()))
|
/gem5/configs/example/arm/ |
H A D | starter_fs.py | 184 event = m5.simulate() 185 exit_msg = event.getCause() 195 sys.exit(event.getCode())
|