#include <trace-counter.h>
Public Member Functions | |
CountLogPool () | |
~CountLogPool () | |
void | write (int phase=-1) |
void | writeSts (int phase=-1) |
FILE * | openFile (int phase=-1) |
void | setEp (int epidx, int index1, long long count1, int index2, long long count2, double time) |
void | clearEps () |
void | init (int argc) |
void | doReduction (int phase, double idleTime) |
Private Attributes | |
StatTable | stats_ |
int | lastPhase_ |
Definition at line 63 of file trace-counter.h.
CountLogPool::~CountLogPool | ( | ) | [inline] |
Definition at line 66 of file trace-counter.h.
void CountLogPool::clearEps | ( | ) | [inline] |
Definition at line 78 of file trace-counter.h.
References StatTable::clear(), and stats_.
void CountLogPool::init | ( | int | argc | ) | [inline] |
Definition at line 79 of file trace-counter.h.
References StatTable::init(), and stats_.
void CountLogPool::doReduction | ( | int | phase, | |
double | idleTime | |||
) | [inline] |
Definition at line 80 of file trace-counter.h.
References StatTable::doReduction(), and stats_.
StatTable CountLogPool::stats_ [private] |
Definition at line 85 of file trace-counter.h.
Referenced by clearEps(), doReduction(), init(), setEp(), and write().
int CountLogPool::lastPhase_ [private] |