ROSS
tw-pe.c File Reference
#include <ross.h>

Go to the source code of this file.

Macros

#define copy_pef(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)

Macro Definition Documentation

◆ copy_pef

#define copy_pef ( f,
d )
Value:
g_tw_pe->type.f = type->f ? type->f : d
tw_pe * g_tw_pe
Definition ross-global.c:79

Referenced by tw_pe_settype().

Function Documentation

◆ dummy_pe_f()

void dummy_pe_f ( tw_pe * pe)
static

Definition at line 3 of file tw-pe.c.

References pe.

Referenced by tw_pe_settype().

◆ tw_pe_fossil_collect()

void tw_pe_fossil_collect ( void )

Definition at line 68 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().

◆ tw_pe_init()

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_max_sig, g_tw_mynode, g_tw_pe, g_tw_synchronization_protocol, OPTIMISTIC, OPTIMISTIC_DEBUG, OPTIMISTIC_REALTIME, tw_calloc(), tw_copy_event_sig(), tw_error(), tw_hash_create(), TW_LOC, tw_pe_settype(), tw_rand_core_init(), tw_rand_init(), and TW_STIME_MAX.

Referenced by tw_net_start().

◆ tw_pe_settype()

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().