#include <ross-types.h>
Data Fields | |
tw_kpid | id |
ID number, otherwise its not available to the app. | |
tw_pe * | pe |
PE that services this KP. | |
tw_kp * | next |
Next KP in the PE's service list. | |
tw_out * | output |
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_stats * | kp_stats |
struct st_kp_stats * | last_stats [3] |
tw_stime | last_time |
Time of the current event being processed. |
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.
AvlTree tw_kp::avl_tree |
Definition at line 393 of file ross-types.h.
Referenced by tw_hash_insert(), and tw_hash_remove().
tw_kpid tw_kp::id |
Definition at line 378 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_rollback_event(), tw_kp_rollback_to(), and tw_output().
struct st_kp_stats * tw_kp::kp_stats |
Definition at line 407 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(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
tw_event_sig tw_kp::last_sig |
Definition at line 398 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_now(), tw_now_sig(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), tw_scheduler_sequential(), tw_scheduler_sequential_rollback_check(), and tw_trigger_gvt_hook_now().
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().
tw_stime tw_kp::last_time |
Definition at line 401 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_scheduler_conservative(), tw_scheduler_optimistic_debug(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
int tw_kp::lp_count |
Definition at line 382 of file ross-types.h.
Referenced by tw_lp_onkp().
tw_kp * tw_kp::next |
Definition at line 380 of file ross-types.h.
tw_out * tw_kp::output |
Definition at line 381 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 379 of file ross-types.h.
Referenced by late_sanity_check(), tw_init_kps(), tw_kp_rollback_event(), and tw_kp_rollback_to().
tw_eventq tw_kp::pevent_q |
Definition at line 396 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 404 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 402 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(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
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().
long tw_kp::s_rb_total |
Definition at line 405 of file ross-types.h.
Referenced by tw_get_stats(), tw_init_kps(), tw_kp_rollback_event(), tw_kp_rollback_to(), and tw_scheduler_sequential_rollback_check().