38 #define PE_STATS(x) get_statistics()->x 71 uint64_t remote_holds;
72 uint64_t remote_cancels;
74 uint64_t anti_cancels;
103 void print_int(
const char*, uint64_t)
const;
108 #if CMK_TRACE_ENABLED 113 int EVENTS_COMMITTED;
114 int EVENTS_ROLLED_BACK;
128 void log_tracing(
int)
const;
uint64_t ts_rollback_calls
number of rollbacks to a certain timestamp
Definition: statistics.h:63
void print_section(const char *) const
Print a section title and border.
Definition: statistics.C:140
void print_double(const char *, double) const
Print a formatted and labeled double value.
Definition: statistics.C:150
uint64_t anti_sends
anti events sent
Definition: statistics.h:73
void registerStatsReduction()
Called during node init to register the stats reduction type.
Definition: statistics.C:16
uint64_t new_event_calls
number of events allocated for an empty buffer
Definition: statistics.h:85
double total_time
execution time these stats were collected during
Definition: statistics.h:52
uint64_t total_rollback_calls
total number of times a rollback is called
Definition: statistics.h:62
CkReductionMsg * statsReduction(int nMsg, CkReductionMsg **msgs)
Reducer function used by the Charm++ runtime when doing a stats reduction.
Definition: statistics.C:25
void print_int(const char *, uint64_t) const
Print a formatted and labeled integer value.
Definition: statistics.C:145
uint64_t event_rollback_calls
number of rollbacks to a specific event
Definition: statistics.h:64
Statistics()
Calls clear() to 0 out stats on creation.
Definition: statistics.C:38
uint64_t del_event_calls
number of events deleted for a full buffer
Definition: statistics.h:86
uint64_t self_sends
events sent to ourselves
Definition: statistics.h:68
void print() const
Print out the entire stats class at the end of a simulation.
Definition: statistics.C:155
void clear()
Sets all stats to their "0" values.
Definition: statistics.C:42
uint64_t remote_sends
events sent to different chares
Definition: statistics.h:70
void add(const Statistics *)
Adds the passed in statistics object to this one.
Definition: statistics.C:78
uint64_t local_sends
events sent to different LPs in the same chare
Definition: statistics.h:69
uint64_t total_gvts
total number of GVT calculations
Definition: statistics.h:80
void reduce(const Statistics *)
Reduces the passed in statistics object with this one.
Definition: statistics.C:111
Statistics * get_statistics()
Helper function for accessing the local Statistics object.
Definition: statistics.C:11
uint64_t max_events_used
max number of events allocated from buffer
Definition: statistics.h:84
uint64_t events_rolled_back
number of rolled back events
Definition: statistics.h:58
uint64_t events_executed
total number of events executed
Definition: statistics.h:56
Declares most types used within the simulator and by models.
uint64_t events_committed
number of committed events
Definition: statistics.h:57
CkReduction::reducerType statsReductionType
The type of the stats reduction used by the Charm++ runtime.
Definition: statistics.C:15
Class for holding all PE level statistics for a given simulation run.
Definition: statistics.h:49