/gem5/src/sim/ |
H A D | eventq_impl.hh | 42 EventQueue::schedule(Event *event, Tick when, bool global) argument 45 assert(!event->scheduled()); 46 assert(event->initialized()); 48 event->setWhen(when, this); 53 // this event belongs to this eventq. This is required to maintain 57 asyncInsert(event); 59 insert(event); 61 event->flags.set(Event::Scheduled); 62 event->acquire(); 65 event 69 deschedule(Event *event) argument 87 reschedule(Event *event, Tick when, bool always) argument [all...] |
H A D | eventq.cc | 97 Event::insertBefore(Event *event, Event *curr) argument 99 // Either way, event will be the top element in the 'in bin' list 102 if (!curr || *event < *curr) { 103 // Insert the event before the current list since it is in the future. 104 event->nextBin = curr; 105 event->nextInBin = NULL; 108 event->nextBin = curr->nextBin; // curr->nextBin can now become stale 110 // Insert event at the top of the stack 111 event->nextInBin = curr; 114 return event; 118 insert(Event *event) argument 141 removeItem(Event *event, Event *top) argument 172 remove(Event *event) argument 207 Event *event = head; local 285 checkpointReschedule(Event *event) argument 422 asyncInsert(Event *event) argument [all...] |
H A D | ticked_object.hh | 44 * look like clock ticking operations. TickedObject attaches gem5's event 55 /** Ticked attaches gem5's event queue/scheduler to evaluate 67 EventFunctionWrapper event; member in class:Ticked 75 /** Time of last stop event to calculate run time */ 108 if (!event.scheduled()) 109 object.schedule(event, object.clockEdge(Cycles(1))); 130 /** Cancel the next tick event and issue no more */ 135 if (event.scheduled()) 136 object.deschedule(event);
|
/gem5/src/systemc/tests/systemc/tracing/vcd_trace/test16/ |
H A D | test16.cpp | 22 test15.cpp -- test event/time tracing 47 sensitive << event; local 54 event.notify(); // t == 1ns 57 event.notify(SC_ZERO_TIME); // t == 2ns 60 event.notify(1, SC_NS); // t == 4ns 64 event.notify(); // t == 5ns 67 event.notify(SC_ZERO_TIME); // t == 6ns 70 event.notify(1, SC_NS); // t == 8ns 81 sc_event event; local 91 sc_trace(tf, m.event, "even [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/old_event_bug/ |
H A D | old_event_bug.cpp | 76 sc_assert( sigi.event() == false ); 77 sc_assert( sigb.event() == false ); 83 sc_assert( sigi.event() ); 87 sc_assert( sigb.event() ); 93 sc_assert( sigi.event() == false ); 94 sc_assert( sigb.event() == false ); 101 sc_assert( sigi.event() == false ); 102 sc_assert( sigb.event() == false ); 111 sc_assert( sigi_dummy.event() == false ); 112 sc_assert( sigb_dummy.event() [all...] |
/gem5/src/dev/arm/ |
H A D | abstract_nvm.hh | 89 * the action has completed, the Callback event should be called. Putting 99 * @param event A pointer to a callback function that will perform the 104 Callback *event) = 0; 106 Callback *event) = 0;
|
/gem5/src/learning_gem5/part2/ |
H A D | hello_object.cc | 38 // This is a C++ lambda. When the event is triggered, it will call the 40 event([this]{ processEvent(); }, name() + ".event"), 54 // Before simulation starts, we need to schedule the event 55 schedule(event, latency); 62 DPRINTF(HelloExample, "Hello world! Processing the event! %d left\n", 69 schedule(event, curTick() + latency);
|
H A D | hello_object.hh | 44 * Example function to execute on an event trigger 48 /// An event that wraps the above function 49 EventFunctionWrapper event; member in class:HelloObject 57 /// Latency between calling the event (in ticks) 60 /// Number of times left to fire the event before goodbye
|
/gem5/util/systemc/systemc_within_gem5/systemc_simple_object/ |
H A D | feeder.cc | 36 strings(params->strings), index(0), event(this) 51 schedule(&event, curTick() + delay); 62 schedule(&event, curTick() + delay);
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash1/ |
H A D | driver.cpp | 101 if (speed.event()) { 106 if (angle.event()) { 111 if (total.event()) { 116 if (partial.event()) {
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash2/ |
H A D | driver.cpp | 101 if (speed.event()) { 106 if (angle.event()) { 111 if (total.event()) { 116 if (partial.event()) {
|
H A D | dist.cpp | 92 // Implement reset.event(): 111 if (total_dist.event()) 114 if (partial_dist.event())
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash3/ |
H A D | driver.cpp | 103 if (speed.event()) { 108 if (angle.event()) { 113 if (total.event()) { 118 if (partial.event()) {
|
H A D | dist.cpp | 100 // Implement reset.event(): 121 if (total_dist.event()) 124 if (partial_dist.event())
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash4/ |
H A D | driver.cpp | 103 if (speed.event()) { 108 if (angle.event()) { 113 if (total.event()) { 118 if (partial.event()) {
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash5/ |
H A D | driver.cpp | 103 if (speed.event()) { 108 if (angle.event()) { 113 if (total.event()) { 118 if (partial.event()) {
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash6/ |
H A D | driver.cpp | 103 if (speed.event()) { 108 if (angle.event()) { 113 if (total.event()) { 118 if (partial.event()) {
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash7/ |
H A D | driver.cpp | 103 if (speed.event()) { 108 if (angle.event()) { 113 if (total.event()) { 118 if (partial.event()) {
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash8/ |
H A D | driver.cpp | 103 if (speed.event()) { 108 if (angle.event()) { 113 if (total.event()) { 118 if (partial.event()) {
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash9/ |
H A D | driver.cpp | 103 if (speed.event()) { 108 if (angle.event()) { 113 if (total.event()) { 118 if (partial.event()) {
|
/gem5/src/cpu/ |
H A D | pc_event.cc | 55 PCEventQueue::remove(PCEvent *event) argument 58 range_t range = equal_range(event); 62 if (*i == event) { 63 DPRINTF(PCEvent, "PC based event removed at %#x: %s\n", 64 event->pc(), event->descr()); 77 PCEventQueue::schedule(PCEvent *event) argument 79 pc_map.push_back(event); 82 DPRINTF(PCEvent, "PC based event scheduled for %#x: %s\n", 83 event [all...] |
/gem5/src/mem/slicc/symbols/ |
H A D | Transition.py | 32 def __init__(self, table, machine, state, event, nextState, actions, 34 ident = "%s|%s" % (state, event) 38 self.event = machine.events[event] 65 (self.state, self.event, self.nextState, self.actions)
|
/gem5/src/mem/slicc/generate/ |
H A D | tex.py | 44 for event in sm.events: 45 code(r" & \rotatebox{90}{$<<event.short>>}") 50 for event in sm.events: 52 trans = sm.get_transition(state, event)
|
/gem5/src/base/ |
H A D | pollevent.hh | 54 PollEvent(int fd, int event); 82 void remove(PollEvent *event); 83 void schedule(PollEvent *event);
|
/gem5/src/systemc/ext/channel/ |
H A D | sc_signal_in_if.hh | 60 virtual bool event() const = 0; 85 virtual bool event() const = 0; 119 virtual bool event() const = 0;
|