1 #ifndef INC_ross_kernel_inline_h
2 #define INC_ross_kernel_inline_h
5 #define ROSS_MAX(a,b) ((a) > (b) ? (a) : (b))
6 #define ROSS_MIN(a,b) ((a) < (b) ? (a) : (b))
30 #ifdef ROSS_runtime_checks
43 #ifdef ROSS_runtime_checks
55 #ifdef ROSS_runtime_checks
void tw_error(const char *file, int line, const char *fmt,...) NORETURN
static int tw_ismaster(void)
unsigned int tw_nnodes(void)
static tw_kp * tw_getkp(tw_kpid id)
tw_kp * kp
kp – Kernel process that we belong to (must match pe).
tw_lpid g_st_analysis_nlp
map_local_f g_tw_custom_lp_global_to_local_map
int g_st_use_analysis_lps
static tw_stime tw_now(tw_lp const *lp)
tw_lpid g_st_total_model_lps
static tw_lp * tw_getlp(tw_lpid id)
static void * tw_getstate(tw_lp *lp)
void * cur_state
Current application LP data.
static tw_lp * tw_getlocal_lp(tw_lpid gid)
tw_stime last_time
Time of the current event being processed.