ROSS
Functions
tw-stats.c File Reference
#include <ross.h>

Go to the source code of this file.

Functions

static void show_lld (const char *name, tw_stat v)
 
static void show_2f (const char *name, double v)
 
static void show_1f (const char *name, double v)
 
static void show_4f (const char *name, double v)
 
void tw_get_stats (tw_pe *pe, tw_statistics *s)
 
void st_print_analysis_LP_stats (tw_statistics *s)
 
void tw_stats (tw_pe *me)
 

Function Documentation

static void show_1f ( const char *  name,
double  v 
)
static

Definition at line 19 of file tw-stats.c.

References g_tw_csv.

Referenced by tw_stats().

Here is the caller graph for this function:

static void show_2f ( const char *  name,
double  v 
)
static

Definition at line 12 of file tw-stats.c.

References g_tw_csv.

Referenced by st_print_analysis_LP_stats(), and tw_stats().

Here is the caller graph for this function:

static void show_4f ( const char *  name,
double  v 
)
static

Definition at line 26 of file tw-stats.c.

References g_tw_csv.

Referenced by tw_stats().

Here is the caller graph for this function:

static void show_lld ( const char *  name,
tw_stat  v 
)
static

Definition at line 5 of file tw-stats.c.

References g_tw_csv.

Referenced by st_print_analysis_LP_stats(), and tw_stats().

Here is the caller graph for this function:

void st_print_analysis_LP_stats ( tw_statistics s)

Definition at line 103 of file tw-stats.c.

References tw_statistics::s_alp_e_rbs, tw_statistics::s_alp_nevent_processed, tw_statistics::s_e_rbs, tw_statistics::s_nevent_processed, show_2f(), and show_lld().

Referenced by tw_stats().

Here is the call graph for this function:

Here is the caller graph for this function:

void tw_get_stats ( tw_pe pe,
tw_statistics s 
)

Definition at line 35 of file tw-stats.c.

References tw_pe::end_time, g_tw_fossil_attempts, g_tw_min_detected_offset, g_tw_nkp, g_tw_pe, g_tw_sim_started, tw_pe::pq, ROSS_MAX, tw_statistics::s_alp_e_rbs, tw_statistics::s_alp_nevent_processed, tw_statistics::s_avl, tw_statistics::s_buddy, tw_statistics::s_cancel_q, tw_statistics::s_e_rbs, tw_kp::s_e_rbs, tw_statistics::s_event_abort, tw_statistics::s_event_process, tw_statistics::s_events_past_end, tw_statistics::s_fc_attempts, tw_statistics::s_fossil_collect, tw_statistics::s_gvt, tw_statistics::s_init, tw_statistics::s_lz4, tw_statistics::s_max_run_time, tw_statistics::s_min_detected_offset, tw_statistics::s_net_events, tw_statistics::s_net_other, tw_statistics::s_net_read, tw_statistics::s_nevent_abort, tw_statistics::s_nevent_processed, tw_kp::s_nevent_processed, tw_statistics::s_nread_network, tw_statistics::s_nsend_loc_remote, tw_statistics::s_nsend_net_remote, tw_statistics::s_nsend_network, tw_statistics::s_nsend_remote_rb, tw_statistics::s_pe_event_ties, tw_statistics::s_pq, tw_statistics::s_pq_qsize, tw_statistics::s_rb_primary, tw_statistics::s_rb_secondary, tw_kp::s_rb_secondary, tw_statistics::s_rb_total, tw_kp::s_rb_total, tw_statistics::s_rollback, tw_statistics::s_stat_comp, tw_statistics::s_stat_write, tw_statistics::s_total, tw_pe::start_time, tw_pe::stats, tw_getkp(), tw_pq_get_size(), tw_wall_sub(), and tw_wall_to_double().

Referenced by st_collect_engine_data(), and tw_stats().

Here is the call graph for this function:

Here is the caller graph for this function:

void tw_stats ( tw_pe me)

Definition at line 125 of file tw-stats.c.

References CONSERVATIVE, tw_lp::cur_state, tw_lptype::final, g_st_analysis_nlp, g_st_use_analysis_lps, g_tw_clock_rate, g_tw_csv, g_tw_events_per_pe, g_tw_events_per_pe_extra, g_tw_gvt_done, g_tw_msg_sz, g_tw_nlp, g_tw_synchronization_protocol, tw_lp::rng, tw_statistics::s_avl, tw_statistics::s_buddy, tw_statistics::s_cancel_q, tw_statistics::s_e_rbs, tw_statistics::s_event_abort, tw_statistics::s_event_process, tw_statistics::s_events_past_end, tw_statistics::s_fc_attempts, tw_statistics::s_fossil_collect, tw_statistics::s_gvt, tw_statistics::s_init, tw_statistics::s_lz4, tw_statistics::s_max_run_time, tw_statistics::s_min_detected_offset, tw_statistics::s_net_events, tw_statistics::s_net_other, tw_statistics::s_net_read, tw_statistics::s_nevent_abort, tw_statistics::s_nevent_processed, tw_statistics::s_nread_network, tw_statistics::s_nsend_loc_remote, tw_statistics::s_nsend_net_remote, tw_statistics::s_nsend_network, tw_statistics::s_pe_event_ties, tw_statistics::s_pq, tw_statistics::s_rb_primary, tw_statistics::s_rb_secondary, tw_statistics::s_rb_total, tw_statistics::s_rollback, tw_statistics::s_stat_comp, tw_statistics::s_stat_write, tw_statistics::s_total, show_1f(), show_2f(), show_4f(), show_lld(), st_print_analysis_LP_stats(), tw_lptype::state_sz, tw_calloc_stats(), tw_get_stats(), tw_getlp(), tw_gvt_stats(), tw_ismaster(), tw_net_statistics(), tw_nnodes(), and tw_lp::type.

Referenced by tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_debug(), tw_scheduler_optimistic_realtime(), and tw_scheduler_sequential().

Here is the call graph for this function:

Here is the caller graph for this function: