#include "event.decl.h"
#include "globals.h"
#include "typedefs.h"
Go to the source code of this file.
|
| PUPbytes (tw_event_state) |
|
| PUPbytes (tw_bf) |
|
void | pup_causality (PUP::er &p, Event *e) |
|
Event * | event_alloc (RemoteEvent *event, uint64_t dest_gid, Time offset, LPBase *sender) |
| Send a previously allocated event. More...
|
|
Event * | event_alloc () |
|
void | tw_event_send (Event *event) |
| Sends an event to its destination LP.
|
|
void | tw_event_free (Event *e, bool commit) |
|
void | tw_event_rollback (Event *event) |
|
void | charm_event_cancel (Event *e) |
|
void | charm_anti_send (unsigned, Event *e) |
|
void | charm_event_release (RemoteEvent *e) |
|
template<typename MsgType > |
uint32_t | get_msg_id () |
|
template<typename MsgType > |
void | register_msg_type () |
|
template<typename MsgType , typename... Args> |
Event * | tw_event_new (uint64_t dest_gid, Time offset, LPBase *sender, Args &&... args) |
| Creates an Event with the appropriate payload type for the desired destination and offset in virtual time. More...
|
|
Event * | tw_event_new (uint64_t dest_gid, Time offset, LPBase *sender, size_t size) |
| Creates a generic Event with payload of the specified size. More...
|
|
◆ tw_event_owner
Enumerator |
---|
TW_event_null | Event in unknown location.
|
TW_chare_q | In the chare's pending queue.
|
TW_rollback_q | In the chare's rollback queue.
|
TW_sent | Event sent to someone else.
|
◆ event_alloc()
Send a previously allocated event.
- Parameters
-
◆ tw_event_new() [1/2]
template<typename MsgType , typename... Args>
Event* tw_event_new |
( |
uint64_t |
dest_gid, |
|
|
Time |
offset, |
|
|
LPBase * |
sender, |
|
|
Args &&... |
args |
|
) |
| |
Creates an Event with the appropriate payload type for the desired destination and offset in virtual time.
- Parameters
-
dest_gid | global id of the destination LP |
offset | offset (in units of virtual time) from the LPs current time |
sender | pointer to the sending LP |
args | arguments to pass to the MsgType constructor |
◆ tw_event_new() [2/2]
Event* tw_event_new |
( |
uint64_t |
dest_gid, |
|
|
Time |
offset, |
|
|
LPBase * |
sender, |
|
|
size_t |
size |
|
) |
| |
Creates a generic Event with payload of the specified size.
- Parameters
-
dest_gid | global id of the destination LP |
offset | offset (in units of virtual time) from the LPs current time |
sender | pointer to the sending LP |
size | size of the message payload |