#include <event_scheduler.h>
|
| event_subscheduler () |
|
timestamp | now () const |
| get the current time More...
|
|
virtual std::string | to_string () const |
|
virtual void | handle (event *ev) |
|
void | schedule (timestamp t, event_handler *handler, event *ev) |
| Add an event to the event queue, where msg will get delivered to handler at time t. More...
|
|
void | schedule (timestamp t, event_queue_entry *ev) |
|
void | schedule_now (event_queue_entry *ev) |
|
void | schedule_now (event_handler *handler, event *ev) |
|
void | schedule_delay (timestamp delay, event_handler *handler, event *ev) |
|
void | schedule_delay (timestamp delay, event_queue_entry *ev) |
|
void | send_self_event (timestamp arrival, event *ev) |
|
void | send_delayed_self_event (timestamp delay, event *ev) |
|
void | send_now_self_event (event *ev) |
|
void | send_self_event_queue (timestamp arrival, event_queue_entry *ev) |
|
void | send_delayed_self_event_queue (timestamp delay, event_queue_entry *ev) |
|
void | send_now_self_event_queue (event_queue_entry *ev) |
|
virtual void | set_event_parent (event_scheduler *m) |
| Set the eventmanager for this scheduler. More...
|
|
event_scheduler * | parent () const |
|
Public Member Functions inherited from sstmac::event_handler |
virtual | ~event_handler () |
|
event_loc_id | event_location () const |
|
virtual bool | ipc_handler () const |
| Whether an event handler is a "fake" handler that represents logical process boundary. More...
|
|
int | thread_id () const |
|
virtual void | deadlock_check (event *ev) |
|
virtual void | deadlock_check () |
|
Definition at line 216 of file event_scheduler.h.
sstmac::event_subscheduler::event_subscheduler |
( |
| ) |
|
|
inline |
virtual void sstmac::event_subscheduler::handle |
( |
event * |
ev | ) |
|
|
virtual |
timestamp sstmac::event_subscheduler::now |
( |
| ) |
const |
|
inline |
Add an event to the event queue, where msg will get delivered to handler at time t.
- Parameters
-
t | Time at which the event should happen |
handler | The handler for the event |
msg | The message to deliver to the handler |
void sstmac::event_subscheduler::send_delayed_self_event |
( |
timestamp |
delay, |
|
|
event * |
ev |
|
) |
| |
void sstmac::event_subscheduler::send_now_self_event |
( |
event * |
ev | ) |
|
void sstmac::event_subscheduler::send_self_event |
( |
timestamp |
arrival, |
|
|
event * |
ev |
|
) |
| |
virtual void sstmac::event_subscheduler::set_event_parent |
( |
event_scheduler * |
m | ) |
|
|
inlinevirtual |
virtual std::string sstmac::event_subscheduler::to_string |
( |
| ) |
const |
|
inlinevirtual |
Implements sstmac::event_handler.
Reimplemented in sstmac::hw::packet_flow_demuxer, sstmac::hw::packet_flow_netlink, sstmac::hw::packet_flow_sender, sstmac::hw::nic, sstmac::hw::simple_nic, sstmac::hw::packet_flow_nic_packetizer, sstmac::hw::packet_flow_handler, sstmac::hw::packet_flow_nic, and sstmac::hw::null_nic.
Definition at line 230 of file event_scheduler.h.
References sstmac::event_scheduler::handle(), sstmac::event_scheduler::schedule(), sstmac::event_scheduler::schedule_delay(), sstmac::event_scheduler::schedule_now(), sstmac::event_scheduler::send_delayed_self_event(), sstmac::event_scheduler::send_delayed_self_event_queue(), sstmac::event_scheduler::send_now_self_event(), sstmac::event_scheduler::send_now_self_event_queue(), sstmac::event_scheduler::send_self_event(), and sstmac::event_scheduler::send_self_event_queue().
The documentation for this class was generated from the following file: