Go to the source code of this file.
Functions | |
const tw_optdef * | st_inst_opts (void) |
void | st_inst_init (void) |
void | st_inst_dump () |
void | st_inst_finalize (tw_pe *me) |
Variables | |
char | g_st_stats_out [INST_MAX_LENGTH] = {0} |
char | g_st_stats_path [4096] = {0} |
int | g_st_pe_data = 1 |
int | g_st_kp_data = 0 |
int | g_st_lp_data = 0 |
int | g_st_disable_out = 0 |
int | g_st_model_stats = 0 |
int | g_st_engine_stats = 0 |
int | g_st_gvt_sampling = 0 |
int | g_st_num_gvt = 10 |
int | g_st_rt_sampling = 0 |
tw_clock | g_st_rt_interval = 1000 |
tw_clock | g_st_rt_samp_start_cycles = 0 |
double | g_st_vt_interval = 1000000 |
double | g_st_sampling_end = 0 |
static const tw_optdef | inst_options [] |
void st_inst_dump | ( | ) |
Definition at line 88 of file st-instrumentation.c.
References ALL_STATS, ANALYSIS_LP, EV_TRACE, g_st_disable_out, g_st_engine_stats, g_st_ev_trace, g_st_model_stats, g_st_use_analysis_lps, GVT_COL, GVT_STATS, MODEL_COL, RT_COL, RT_STATS, and st_buffer_write().
Referenced by tw_gvt_step2().
void st_inst_finalize | ( | tw_pe * | me | ) |
Definition at line 105 of file st-instrumentation.c.
References ALL_STATS, ANALYSIS_LP, EV_TRACE, g_st_engine_stats, g_st_ev_trace, g_st_model_stats, g_st_use_analysis_lps, GVT_COL, GVT_STATS, MODEL_COL, RT_COL, RT_STATS, st_buffer_finalize(), and st_collect_engine_data().
Referenced by tw_scheduler_conservative(), tw_scheduler_optimistic(), and tw_scheduler_optimistic_realtime().
void st_inst_init | ( | void | ) |
Definition at line 51 of file st-instrumentation.c.
References ALL_STATS, EV_TRACE, g_st_engine_stats, g_st_ev_trace, g_st_gvt_sampling, g_st_model_stats, g_st_rt_interval, g_st_rt_samp_start_cycles, g_st_rt_sampling, g_tw_clock_rate, GVT_COL, GVT_STATS, MODEL_COL, RT_COL, RT_STATS, specialized_lp_run(), st_buffer_init(), and tw_clock_read().
Referenced by tw_run().
const tw_optdef* st_inst_opts | ( | void | ) |
Definition at line 46 of file st-instrumentation.c.
References inst_options.
Referenced by tw_init().
int g_st_disable_out = 0 |
Definition at line 9 of file st-instrumentation.c.
Referenced by analysis_commit(), st_buffer_finalize(), st_buffer_init(), st_buffer_push(), st_collect_event_data(), st_collect_model_data(), and st_inst_dump().
int g_st_engine_stats = 0 |
Definition at line 12 of file st-instrumentation.c.
Referenced by analysis_event(), specialized_lp_setup(), st_buffer_allocate(), st_inst_dump(), st_inst_finalize(), st_inst_init(), tw_gvt_step2(), tw_sched_batch(), tw_sched_batch_realtime(), and tw_scheduler_conservative().
int g_st_gvt_sampling = 0 |
Definition at line 14 of file st-instrumentation.c.
Referenced by st_inst_init().
int g_st_kp_data = 0 |
Definition at line 7 of file st-instrumentation.c.
Referenced by st_collect_engine_data().
int g_st_lp_data = 0 |
Definition at line 8 of file st-instrumentation.c.
Referenced by st_collect_engine_data().
int g_st_model_stats = 0 |
Definition at line 11 of file st-instrumentation.c.
Referenced by analysis_commit(), analysis_event(), analysis_event_rc(), analysis_init(), specialized_lp_setup(), st_buffer_allocate(), st_inst_dump(), st_inst_finalize(), st_inst_init(), tw_gvt_step2(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), and tw_scheduler_sequential().
int g_st_num_gvt = 10 |
Definition at line 15 of file st-instrumentation.c.
Referenced by tw_gvt_step2().
int g_st_pe_data = 1 |
Definition at line 6 of file st-instrumentation.c.
Referenced by st_collect_engine_data().
tw_clock g_st_rt_interval = 1000 |
Definition at line 18 of file st-instrumentation.c.
Referenced by st_inst_init(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), and tw_scheduler_sequential().
tw_clock g_st_rt_samp_start_cycles = 0 |
Definition at line 19 of file st-instrumentation.c.
Referenced by st_inst_init(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), and tw_scheduler_sequential().
int g_st_rt_sampling = 0 |
Definition at line 17 of file st-instrumentation.c.
Referenced by st_inst_init(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), and tw_scheduler_sequential().
double g_st_sampling_end = 0 |
Definition at line 22 of file st-instrumentation.c.
Referenced by specialized_lp_run(), and st_create_sample_event().
char g_st_stats_out[INST_MAX_LENGTH] = {0} |
Definition at line 4 of file st-instrumentation.c.
Referenced by st_buffer_init().
char g_st_stats_path[4096] = {0} |
Definition at line 5 of file st-instrumentation.c.
Referenced by st_buffer_allocate().
double g_st_vt_interval = 1000000 |
Definition at line 21 of file st-instrumentation.c.
Referenced by st_create_sample_event().
|
static |
Definition at line 26 of file st-instrumentation.c.
Referenced by st_inst_opts().