ROSS
tw_lp Struct Reference

LP State Structure. More...

#include <ross-types.h>

Data Fields

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

Detailed Description

tw_lp

Holds 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 336 of file ross-types.h.

Field Documentation

◆ core_rng

◆ critical_path

◆ cur_state

◆ gid

◆ id

tw_lpid tw_lp::id

◆ kp

◆ last_stats

struct st_lp_stats * tw_lp::last_stats

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

Referenced by st_collect_engine_data_lps(), and tw_init_lps().

◆ lp_stats

◆ model_types

◆ pe

◆ rng

◆ suspend_do_orig_event_rc

unsigned int tw_lp::suspend_do_orig_event_rc

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

Referenced by tw_event_rollback(), and tw_lp_suspend().

◆ suspend_error_number

unsigned int tw_lp::suspend_error_number

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

Referenced by tw_event_rollback(), and tw_lp_suspend().

◆ suspend_event

tw_event * tw_lp::suspend_event

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

Referenced by tw_event_rollback(), and tw_lp_suspend().

◆ suspend_flag

unsigned int tw_lp::suspend_flag

◆ suspend_sig

tw_event_sig tw_lp::suspend_sig

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

Referenced by tw_event_rollback(), and tw_lp_suspend().

◆ suspend_time

tw_stime tw_lp::suspend_time

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

Referenced by tw_event_rollback(), and tw_lp_suspend().

◆ triggered_gvt_hook

unsigned int tw_lp::triggered_gvt_hook

◆ type


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