101 for (j = 0; j < 3; j++)
234#ifdef USE_RAND_TIEBREAKER
static tw_clock tw_clock_read(void)
void st_model_setup_types(tw_lp *lp)
tw_lpid g_st_analysis_nlp
void io_read_checkpoint()
io_load_type g_io_load_at
void * tw_calloc(const char *file, int line, const char *for_who, size_t e_sz, size_t n)
tw_typemap_f g_tw_lp_typemap
tw_lptype * g_tw_lp_types
void tw_error(const char *file, int line, const char *fmt,...)
static tw_stime tw_now(tw_lp const *lp)
static tw_event_sig tw_now_sig(tw_lp const *lp)
void(* init_f)(void *sv, tw_lp *me)
void(* pre_run_f)(void *sv, tw_lp *me)
tw_event * caused_by_me
Start of event list caused by this event.
tw_kp * kp
kp – Kernel process that we belong to (must match pe).
tw_lptype * type
Type of this LP, including service callbacks.
unsigned int suspend_do_orig_event_rc
struct st_lp_stats * lp_stats
unsigned int suspend_error_number
struct st_lp_stats * last_stats[3]
void * cur_state
Current application LP data.
unsigned int suspend_flag
Function Pointers for ROSS Event Handlers.
size_t state_sz
Number of bytes that SV is for the LP.
init_f init
LP setup routine.
pre_run_f pre_run
Second stage LP initialization.
Holds the entire PE state.
unsigned char cev_abort
Current event being processed must be aborted.
tw_event * cur_event
Current event being processed.
tw_event * abort_event
Placeholder event for when free_q is empty.
tw_statistics stats
per PE counters
void tw_lp_settype(tw_lpid id, tw_lptype *type)
void tw_pre_run_lps(tw_pe *me)
void tw_lp_onkp(tw_lp *lp, tw_kp *kp)
void tw_init_lps(tw_pe *me)
void tw_lp_suspend(tw_lp *lp, int do_orig_event_rc, int error_num)
void tw_lp_onpe(tw_lpid id, tw_pe *pe, tw_lpid gid)