ROSS
Data Fields
tw_lp Struct Reference

LP State Structure. More...

#include <ross-types.h>

Data Fields

tw_lpid id
 local LP id More...
 
tw_lpid gid
 global LP id More...
 
tw_pepe
 
tw_kpkp
 kp – Kernel process that we belong to (must match pe). More...
 
void * cur_state
 Current application LP data. More...
 
tw_lptypetype
 Type of this LP, including service callbacks. More...
 
tw_rng_streamrng
 RNG stream array for this LP. More...
 
unsigned int critical_path
 Critical path value for this LP. More...
 
struct st_model_typesmodel_types
 
struct st_lp_statslp_stats
 
struct st_lp_statslast_stats [3]
 
tw_eventsuspend_event
 
tw_stime suspend_time
 
unsigned int suspend_error_number
 
unsigned int suspend_do_orig_event_rc
 
unsigned int suspend_flag
 

Detailed Description

tw_lpHolds our state for the LP, including the lptype and a pointer to the user's current state. The lptype is copied into the tw_lp in order to save the extra memory load that would otherwise be required (if we stored a pointer).

Specific PE's service specific LPs, each PE has a linked list of the LPs it services, this list is made through the pe_next field of the tw_lp structure.

Definition at line 304 of file ross-types.h.

Field Documentation

unsigned int tw_lp::critical_path
void* tw_lp::cur_state
tw_lpid tw_lp::gid
tw_lpid tw_lp::id

Definition at line 305 of file ross-types.h.

Referenced by io_store_checkpoint(), late_sanity_check(), and tw_lp_onpe().

tw_kp* tw_lp::kp
struct st_lp_stats* tw_lp::last_stats[3]

Definition at line 324 of file ross-types.h.

Referenced by st_collect_engine_data_lps(), and tw_init_lps().

struct st_lp_stats* tw_lp::lp_stats
struct st_model_types* tw_lp::model_types
tw_pe* tw_lp::pe
tw_rng_stream* tw_lp::rng
unsigned int tw_lp::suspend_do_orig_event_rc

Definition at line 330 of file ross-types.h.

Referenced by tw_event_rollback(), and tw_lp_suspend().

unsigned int tw_lp::suspend_error_number

Definition at line 329 of file ross-types.h.

Referenced by tw_event_rollback(), and tw_lp_suspend().

tw_event* tw_lp::suspend_event

Definition at line 327 of file ross-types.h.

Referenced by tw_event_rollback(), and tw_lp_suspend().

unsigned int tw_lp::suspend_flag
tw_stime tw_lp::suspend_time

Definition at line 328 of file ross-types.h.

Referenced by tw_event_rollback(), and tw_lp_suspend().

tw_lptype* tw_lp::type

The documentation for this struct was generated from the following file: