#include "phold.h"
Go to the source code of this file.
Functions | |
tw_peid | phold_map (tw_lpid gid) |
void | phold_init (phold_state *s, tw_lp *lp) |
void | phold_pre_run (phold_state *s, tw_lp *lp) |
void | phold_event_handler (phold_state *s, tw_bf *bf, phold_message *m, tw_lp *lp) |
void | phold_event_handler_rc (phold_state *s, tw_bf *bf, phold_message *m, tw_lp *lp) |
void | phold_commit (phold_state *s, tw_bf *bf, phold_message *m, tw_lp *lp) |
void | phold_finish (phold_state *s, tw_lp *lp) |
void | event_trace (phold_message *m, tw_lp *lp, char *buffer, int *collect_flag) |
void | phold_stats_collect (phold_state *s, tw_lp *lp, char *buffer) |
int | main (int argc, char **argv) |
Variables | |
tw_lptype | mylps [] |
st_model_types | model_types [] |
const tw_optdef | app_opt [] |
void event_trace | ( | phold_message * | m, |
tw_lp * | lp, | ||
char * | buffer, | ||
int * | collect_flag | ||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 169 of file phold.c.
References g_phold_start_events, g_tw_events_per_pe, g_tw_lookahead, g_tw_mynode, g_tw_nlp, lookahead, mean, mult, nlp_per_pe, offset_lpid, optimistic_memory, percent_remote, st_model_settype(), stagger, ttl_lps, tw_comm_set(), tw_define_lps(), tw_end(), tw_error(), tw_init(), TW_LOC, tw_lp_settype(), tw_nnodes(), tw_opt_add(), and tw_run().
void phold_commit | ( | phold_state * | s, |
tw_bf * | bf, | ||
phold_message * | m, | ||
tw_lp * | lp | ||
) |
void phold_event_handler | ( | phold_state * | s, |
tw_bf * | bf, | ||
phold_message * | m, | ||
tw_lp * | lp | ||
) |
Definition at line 59 of file phold.c.
References tw_bf::c1, g_tw_nlp, tw_lp::gid, lookahead, mean, percent_remote, tw_lp::rng, ttl_lps, tw_error(), tw_event_new(), tw_event_send(), TW_LOC, tw_nnodes(), tw_rand_exponential(), tw_rand_integer(), and tw_rand_unif.
void phold_event_handler_rc | ( | phold_state * | s, |
tw_bf * | bf, | ||
phold_message * | m, | ||
tw_lp * | lp | ||
) |
Definition at line 86 of file phold.c.
References tw_bf::c1, tw_lp::rng, and tw_rand_reverse_unif.
void phold_finish | ( | phold_state * | s, |
tw_lp * | lp | ||
) |
void phold_init | ( | phold_state * | s, |
tw_lp * | lp | ||
) |
Definition at line 11 of file phold.c.
References g_phold_start_events, g_tw_ts_end, tw_lp::gid, lookahead, mean, tw_lp::rng, stagger, tw_event_new(), tw_event_send(), and tw_rand_exponential().
void phold_pre_run | ( | phold_state * | s, |
tw_lp * | lp | ||
) |
Definition at line 39 of file phold.c.
References g_tw_nlp, tw_lp::gid, lookahead, mean, percent_remote, tw_lp::rng, ttl_lps, tw_error(), tw_event_new(), tw_event_send(), TW_LOC, tw_nnodes(), tw_rand_exponential(), tw_rand_integer(), and tw_rand_unif.
void phold_stats_collect | ( | phold_state * | s, |
tw_lp * | lp, | ||
char * | buffer | ||
) |
const tw_optdef app_opt[] |
st_model_types model_types[] |
Definition at line 142 of file phold.c.
Referenced by st_model_settype().
tw_lptype mylps[] |