#include <ross.h>
Go to the source code of this file.
Macros | |
#define | copy_pef(f, d) g_tw_pe->type.f = type->f ? type->f : d |
Functions | |
static void | dummy_pe_f (tw_pe *pe) |
void | tw_pe_settype (const tw_petype *type) |
void | tw_pe_init (void) |
void | tw_pe_fossil_collect (void) |
#define copy_pef | ( | f, | |
d | |||
) | g_tw_pe->type.f = type->f ? type->f : d |
Referenced by tw_pe_settype().
|
static |
Definition at line 3 of file tw-pe.c.
Referenced by tw_pe_settype().
void tw_pe_fossil_collect | ( | void | ) |
Definition at line 62 of file tw-pe.c.
References g_tw_fossil_attempts, g_tw_nkp, g_tw_pe, tw_kp::pevent_q, tw_eventq_fossil_collect(), and tw_getkp().
Referenced by tw_gvt_step2().
void tw_pe_init | ( | void | ) |
initialize individual PE structs
must be called after tw_nnodes / MPI world size is set.
Definition at line 32 of file tw-pe.c.
References g_tw_mynode, g_tw_pe, g_tw_synchronization_protocol, tw_pe::gvt_status, tw_pe::hash_t, tw_pe::id, OPTIMISTIC, OPTIMISTIC_DEBUG, OPTIMISTIC_REALTIME, tw_pe::rng, tw_pe::trans_msg_ts, tw_calloc(), tw_error(), tw_hash_create(), TW_LOC, tw_pe_settype(), and tw_rand_init().
Referenced by tw_net_start().
void tw_pe_settype | ( | const tw_petype * | type | ) |
Definition at line 9 of file tw-pe.c.
References copy_pef, dummy_pe_f(), g_tw_pe, tw_error(), and TW_LOC.
Referenced by tw_pe_init().