#include <ross-types.h>
Data Fields | |
tw_kpid | id |
ID number, otherwise its not available to the app. More... | |
tw_pe * | pe |
PE that services this KP. More... | |
tw_kp * | next |
Next KP in the PE's service list. More... | |
tw_out * | output |
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_stats * | kp_stats |
struct st_kp_stats * | last_stats [3] |
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.
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 |
Definition at line 341 of file ross-types.h.
Referenced by analysis_commit(), analysis_init(), st_collect_engine_data_kps(), st_collect_engine_data_lps(), st_collect_model_data(), tw_init_kps(), tw_kp_onpe(), tw_kp_rollback_event(), tw_kp_rollback_to(), and tw_output().
struct st_kp_stats* tw_kp::kp_stats |
Definition at line 366 of file ross-types.h.
Referenced by recv_finish(), send_finish(), st_collect_engine_data_kps(), tw_event_rollback(), tw_init_kps(), tw_kp_rollback_event(), tw_kp_rollback_to(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), and tw_scheduler_sequential().
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 |
Definition at line 360 of file ross-types.h.
Referenced by recv_finish(), st_collect_engine_data_kps(), tw_event_rollback(), tw_event_send(), tw_kp_rollback_event(), tw_kp_rollback_to(), tw_now(), tw_sched_batch(), tw_sched_batch_realtime(), tw_sched_event_q(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), and tw_scheduler_sequential().
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 |
Definition at line 344 of file ross-types.h.
Referenced by tw_init_kps(), tw_kp_grab_output_buffer(), and tw_kp_put_back_output_buffer().
tw_pe* tw_kp::pe |
Definition at line 342 of file ross-types.h.
Referenced by late_sanity_check(), tw_init_kps(), tw_kp_onpe(), tw_kp_rollback_event(), and tw_kp_rollback_to().
tw_eventq tw_kp::pevent_q |
Definition at line 359 of file ross-types.h.
Referenced by tw_kp_rollback_event(), tw_kp_rollback_to(), tw_pe_fossil_collect(), tw_sched_batch(), tw_sched_batch_realtime(), and tw_scheduler_optimistic_debug().
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 |
Definition at line 361 of file ross-types.h.
Referenced by tw_get_stats(), tw_init_kps(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), and tw_scheduler_sequential().
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().