ROSS
tw_kp Struct Reference

#include <ross-types.h>

Data Fields

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

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

Field Documentation

◆ avl_tree

AvlTree tw_kp::avl_tree

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

Referenced by tw_hash_insert(), and tw_hash_remove().

◆ id

◆ kp_stats

◆ last_sig

◆ last_stats

struct st_kp_stats * tw_kp::last_stats

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

Referenced by st_collect_engine_data_kps(), and tw_init_kps().

◆ last_time

◆ lp_count

int tw_kp::lp_count

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

Referenced by tw_lp_onkp().

◆ next

tw_kp * tw_kp::next

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

◆ output

tw_out * tw_kp::output

◆ pe

tw_pe * tw_kp::pe

◆ pevent_q

◆ s_e_rbs

long tw_kp::s_e_rbs

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

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

◆ s_nevent_processed

◆ s_rb_secondary

long tw_kp::s_rb_secondary

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

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

◆ s_rb_total

long tw_kp::s_rb_total

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