#include <trace-counter.h>
Public Member Functions | |
StatTable () | |
~StatTable () | |
void | init (int argc) |
void | setEp (int epidx, int stat, long long value, double time) |
one entry is called for 'time' seconds, value is counter reading | |
void | write (FILE *fp) |
write three lines for each stat: 1. | |
void | clear () |
set all of internals to null | |
int | numStats () |
void | doReduction (int phase, double idleTime) |
do a reduction across processors to calculate the total count for each count, and if the count has flops, etc, then calc the the flops/s, etc. | |
Private Attributes | |
Statistics * | stats_ |
int | numStats_ |
Data Structures | |
struct | Statistics |
struct to maintain statistics More... |
Definition at line 23 of file trace-counter.h.
int StatTable::numStats | ( | ) | [inline] |
Definition at line 36 of file trace-counter.h.
References numStats_.
Referenced by CountLogPool::write().
Statistics* StatTable::stats_ [private] |
Definition at line 57 of file trace-counter.h.
Referenced by clear(), doReduction(), init(), setEp(), write(), and ~StatTable().
int StatTable::numStats_ [private] |
Definition at line 58 of file trace-counter.h.
Referenced by clear(), doReduction(), init(), numStats(), and write().