Go to the source code of this file.
Macros | |
#define | __STDC_FORMAT_MACROS 1 |
Functions | |
void | st_collect_engine_data (tw_pe *pe, int col_type) |
void | st_collect_engine_data_pes (tw_pe *pe, sample_metadata *sample_md, tw_statistics *s, int col_type) |
void | st_collect_engine_data_kps (tw_pe *pe, tw_kp *kp, sample_metadata *sample_md, int col_type) |
void | st_collect_engine_data_lps (tw_lp *lp, sample_metadata *sample_md, int col_type) |
Variables | |
long | g_st_current_interval = 0 |
static tw_statistics | last_pe_stats [3] |
static tw_stat | last_all_reduce_cnt = 0 |
#define __STDC_FORMAT_MACROS 1 |
Definition at line 3 of file st-sim-engine.c.
void st_collect_engine_data | ( | tw_pe * | pe, |
int | col_type | ||
) |
Definition at line 10 of file st-sim-engine.c.
References g_st_kp_data, g_st_lp_data, g_st_pe_data, g_tw_clock_rate, g_tw_nkp, g_tw_nlp, tw_pe::GVT, sample_metadata::real_time, tw_statistics::s_stat_comp, st_collect_engine_data_kps(), st_collect_engine_data_lps(), st_collect_engine_data_pes(), tw_pe::stats, sample_metadata::ts, tw_clock_read(), tw_get_stats(), tw_getkp(), and tw_getlp().
Referenced by analysis_event(), st_inst_finalize(), tw_gvt_step2(), tw_sched_batch(), tw_sched_batch_realtime(), and tw_scheduler_conservative().
void st_collect_engine_data_kps | ( | tw_pe * | pe, |
tw_kp * | kp, | ||
sample_metadata * | sample_md, | ||
int | col_type | ||
) |
Definition at line 102 of file st-sim-engine.c.
References st_kp_stats::efficiency, sample_metadata::flag, g_tw_mynode, tw_pe::GVT, tw_kp::id, tw_kp::kp_stats, KP_TYPE, st_kp_stats::kpid, tw_kp::last_stats, tw_kp::last_time, st_kp_stats::peid, st_kp_stats::s_e_rbs, st_kp_stats::s_nevent_abort, st_kp_stats::s_nevent_processed, st_kp_stats::s_nread_network, st_kp_stats::s_nsend_network, st_kp_stats::s_rb_secondary, st_kp_stats::s_rb_total, sample_metadata::sample_sz, st_buffer_push(), st_kp_stats::time_ahead_gvt, tw_error(), TW_LOC, and TW_STIME_DBL.
Referenced by st_collect_engine_data().
void st_collect_engine_data_lps | ( | tw_lp * | lp, |
sample_metadata * | sample_md, | ||
int | col_type | ||
) |
Definition at line 145 of file st-sim-engine.c.
References st_lp_stats::efficiency, sample_metadata::flag, g_tw_mynode, tw_lp::gid, tw_kp::id, tw_lp::kp, st_lp_stats::kpid, tw_lp::last_stats, tw_lp::lp_stats, LP_TYPE, st_lp_stats::lpid, st_lp_stats::peid, st_lp_stats::s_e_rbs, st_lp_stats::s_nevent_abort, st_lp_stats::s_nevent_processed, st_lp_stats::s_nread_network, st_lp_stats::s_nsend_network, sample_metadata::sample_sz, st_buffer_push(), tw_error(), and TW_LOC.
Referenced by st_collect_engine_data().
void st_collect_engine_data_pes | ( | tw_pe * | pe, |
sample_metadata * | sample_md, | ||
tw_statistics * | s, | ||
int | col_type | ||
) |
Definition at line 45 of file st-sim-engine.c.
References all_reduce_cnt, st_pe_stats::all_reduce_count, st_pe_stats::efficiency, sample_metadata::flag, g_tw_clock_rate, g_tw_gvt_done, g_tw_mynode, last_all_reduce_cnt, PE_TYPE, st_pe_stats::peid, tw_pe::pq, st_pe_stats::s_avl, tw_statistics::s_avl, st_pe_stats::s_buddy, tw_statistics::s_buddy, st_pe_stats::s_cancel_q, tw_statistics::s_cancel_q, st_pe_stats::s_e_rbs, tw_statistics::s_e_rbs, st_pe_stats::s_event_abort, tw_statistics::s_event_abort, st_pe_stats::s_event_process, tw_statistics::s_event_process, st_pe_stats::s_fc_attempts, tw_statistics::s_fc_attempts, st_pe_stats::s_fossil_collect, tw_statistics::s_fossil_collect, st_pe_stats::s_gvt, tw_statistics::s_gvt, st_pe_stats::s_lz4, tw_statistics::s_lz4, st_pe_stats::s_net_other, tw_statistics::s_net_other, st_pe_stats::s_net_read, tw_statistics::s_net_read, st_pe_stats::s_nevent_abort, tw_statistics::s_nevent_abort, st_pe_stats::s_nevent_processed, tw_statistics::s_nevent_processed, st_pe_stats::s_ngvts, st_pe_stats::s_nread_network, tw_statistics::s_nread_network, st_pe_stats::s_nsend_network, tw_statistics::s_nsend_network, st_pe_stats::s_pe_event_ties, tw_statistics::s_pe_event_ties, st_pe_stats::s_pq, tw_statistics::s_pq, st_pe_stats::s_pq_qsize, st_pe_stats::s_rb_secondary, tw_statistics::s_rb_secondary, st_pe_stats::s_rb_total, tw_statistics::s_rb_total, st_pe_stats::s_rollback, tw_statistics::s_rollback, sample_metadata::sample_sz, st_buffer_push(), st_get_allreduce_count(), tw_pe::stats, and tw_pq_get_size().
Referenced by st_collect_engine_data().
long g_st_current_interval = 0 |
Definition at line 5 of file st-sim-engine.c.
|
static |
Definition at line 7 of file st-sim-engine.c.
Referenced by st_collect_engine_data_pes().
|
static |
Definition at line 6 of file st-sim-engine.c.