ROSS
Data Fields
tw_kp Struct Reference

#include <ross-types.h>

Data Fields

tw_kpid id
 ID number, otherwise its not available to the app. More...
 
tw_pepe
 PE that services this KP. More...
 
tw_kpnext
 Next KP in the PE's service list. More...
 
tw_outoutput
 Output messages. More...
 
int lp_count
 
AvlTree avl_tree
 
tw_eventq pevent_q
 Events processed by LPs bound to this KP. More...
 
tw_stime last_time
 Time of the current event being processed. More...
 
tw_stat s_nevent_processed
 Number of events processed. More...
 
long s_e_rbs
 Number of events rolled back by this LP. More...
 
long s_rb_total
 Number of total rollbacks by this LP. More...
 
long s_rb_secondary
 Number of secondary rollbacks by this LP. More...
 
struct st_kp_statskp_stats
 
struct st_kp_statslast_stats [3]
 

Detailed Description

tw_kp KP State Structure

Holds our state for the Kernel Process (KP), which consists only of processed event list for a collection of LPs.

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

Field Documentation

AvlTree tw_kp::avl_tree

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

Referenced by tw_hash_insert(), and tw_hash_remove().

tw_kpid tw_kp::id
struct st_kp_stats* tw_kp::kp_stats
struct st_kp_stats* tw_kp::last_stats[3]

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

Referenced by st_collect_engine_data_kps(), and tw_init_kps().

tw_stime tw_kp::last_time
int tw_kp::lp_count

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

Referenced by io_store_checkpoint(), and tw_lp_onkp().

tw_kp* tw_kp::next

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

tw_out* tw_kp::output
tw_pe* tw_kp::pe
tw_eventq tw_kp::pevent_q
long tw_kp::s_e_rbs

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

Referenced by tw_event_rollback(), tw_get_stats(), and tw_init_kps().

tw_stat tw_kp::s_nevent_processed
long tw_kp::s_rb_secondary

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

Referenced by tw_get_stats(), tw_init_kps(), and tw_kp_rollback_event().

long tw_kp::s_rb_total

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

Referenced by tw_get_stats(), tw_init_kps(), tw_kp_rollback_event(), and tw_kp_rollback_to().


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