#include "tw-opts.h"
#include "ross-types.h"
Go to the source code of this file.
|
typedef void(* | ev_trace_f) (void *msg, tw_lp *lp, char *buffer, int *collect_flag) |
typedef void(* | sample_event_f) (void *state, tw_bf *b, tw_lp *lp, void *sample) |
typedef void(* | sample_revent_f) (void *state, tw_bf *b, tw_lp *lp, void *sample) |
typedef void(* | model_stat_f) (void *sv, tw_lp *lp, char *buffer) |
|
enum | collection_types {
GVT_COL
, RT_COL
, ANALYSIS_LP
, EV_TRACE
,
MODEL_COL
, NUM_COL_TYPES
} |
enum | inst_data_types { PE_TYPE
, KP_TYPE
, LP_TYPE
, MODEL_TYPE
} |
enum | granularity_types { GRAN_PE
, GRAN_KP
, GRAN_LP
, GRAN_ALL
} |
enum | traces_enum { NO_TRACE
, FULL_TRACE
, RB_TRACE
, COMMIT_TRACE
} |
enum | stats_types_enum {
NO_STATS
, GVT_STATS
, RT_STATS
, VT_STATS
,
ALL_STATS
} |
|
void | st_buffer_allocate () |
void | st_buffer_init (int type) |
void | st_buffer_push (int type, char *data, int size) |
void | st_buffer_write (int end_of_sim, int type) |
void | st_buffer_finalize (int type) |
const tw_optdef * | st_inst_opts () |
void | st_inst_init (void) |
void | st_inst_dump () |
void | st_inst_finalize (tw_pe *me) |
void | st_collect_engine_data (tw_pe *me, 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 *me, 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) |
void | st_collect_event_data (tw_event *cev, double recv_rt) |
void | specialized_lp_setup () |
void | specialized_lp_init_mapping () |
void | specialized_lp_run () |
const tw_optdef * | st_special_lp_opts (void) |
void | st_model_setup_types (tw_lp *lp) |
void | st_model_settype (tw_lpid i, st_model_types *model_types) |
void | st_collect_model_data (tw_pe *pe, double current_rt, int stats_type) |
◆ INST_MAX_LENGTH
#define INST_MAX_LENGTH 4096 |
◆ st_buffer_free_space
#define st_buffer_free_space |
( |
| buf | ) |
|
◆ st_buffer_read_ptr
#define st_buffer_read_ptr |
( |
| buf | ) |
|
◆ st_buffer_write_ptr
#define st_buffer_write_ptr |
( |
| buf | ) |
|
◆ ev_trace_f
typedef void(* ev_trace_f) (void *msg, tw_lp *lp, char *buffer, int *collect_flag) |
◆ model_stat_f
typedef void(* model_stat_f) (void *sv, tw_lp *lp, char *buffer) |
◆ sample_event_f
typedef void(* sample_event_f) (void *state, tw_bf *b, tw_lp *lp, void *sample) |
◆ sample_revent_f
typedef void(* sample_revent_f) (void *state, tw_bf *b, tw_lp *lp, void *sample) |
◆ collection_types
Enumerator |
---|
GVT_COL | |
RT_COL | |
ANALYSIS_LP | |
EV_TRACE | |
MODEL_COL | |
NUM_COL_TYPES | |
Definition at line 40 of file st-instrumentation.h.
◆ granularity_types
◆ inst_data_types
◆ stats_types_enum
◆ traces_enum
◆ specialized_lp_init_mapping()
void specialized_lp_init_mapping |
( |
| ) |
|
|
extern |
◆ specialized_lp_run()
void specialized_lp_run |
( |
| ) |
|
|
extern |
◆ specialized_lp_setup()
void specialized_lp_setup |
( |
| ) |
|
|
extern |
◆ st_buffer_allocate()
void st_buffer_allocate |
( |
| ) |
|
◆ st_buffer_finalize()
void st_buffer_finalize |
( |
int | type | ) |
|
◆ st_buffer_init()
void st_buffer_init |
( |
int | type | ) |
|
◆ st_buffer_push()
void st_buffer_push |
( |
int | type, |
|
|
char * | data, |
|
|
int | size ) |
◆ st_buffer_write()
void st_buffer_write |
( |
int | end_of_sim, |
|
|
int | type ) |
◆ st_collect_engine_data()
void st_collect_engine_data |
( |
tw_pe * | me, |
|
|
int | col_type ) |
◆ st_collect_engine_data_kps()
◆ st_collect_engine_data_lps()
◆ st_collect_engine_data_pes()
◆ st_collect_event_data()
void st_collect_event_data |
( |
tw_event * | cev, |
|
|
double | recv_rt ) |
◆ st_collect_model_data()
void st_collect_model_data |
( |
tw_pe * | pe, |
|
|
double | current_rt, |
|
|
int | stats_type ) |
◆ st_inst_dump()
◆ st_inst_finalize()
void st_inst_finalize |
( |
tw_pe * | me | ) |
|
|
extern |
◆ st_inst_init()
void st_inst_init |
( |
void | | ) |
|
|
extern |
◆ st_inst_opts()
◆ st_model_settype()
◆ st_model_setup_types()
void st_model_setup_types |
( |
tw_lp * | lp | ) |
|
◆ st_special_lp_opts()
const tw_optdef * st_special_lp_opts |
( |
void | | ) |
|
|
extern |
◆ g_st_analysis_nlp
◆ g_st_buffer_free_percent
int g_st_buffer_free_percent |
|
extern |
◆ g_st_buffer_size
◆ g_st_disable_out
◆ g_st_engine_stats
◆ g_st_ev_trace
◆ g_st_gvt_sampling
◆ g_st_kp_data
◆ g_st_lp_data
◆ g_st_model_stats
◆ g_st_model_types
◆ g_st_num_gvt
◆ g_st_pe_data
◆ g_st_rt_interval
◆ g_st_rt_samp_start_cycles
◆ g_st_rt_sampling
◆ g_st_sample_count
◆ g_st_sampling_end
◆ g_st_stats_out
char g_st_stats_out[4096] |
|
extern |
◆ g_st_stats_path
char g_st_stats_path[4096] |
|
extern |
◆ g_st_total_model_lps
◆ g_st_use_analysis_lps
int g_st_use_analysis_lps |
|
extern |
◆ g_st_vt_interval
◆ seq_analysis
◆ seq_ev_trace
◆ seq_model
◆ stats_directory
char stats_directory[4096] |
|
extern |