#include <trace-summary.h>
Public Member Functions | |
PhaseEntry () | |
~PhaseEntry () | |
void | setEp (int epidx, double time) |
one entry is called for 'time' seconds. | |
void | write (FILE *fp, int seq) |
write two lines for each phase: 1. | |
Private Attributes | |
int | nEPs |
int * | count |
double * | times |
double * | maxtimes |
Definition at line 46 of file trace-summary.h.
PhaseEntry::~PhaseEntry | ( | ) | [inline] |
void PhaseEntry::setEp | ( | int | epidx, | |
double | time | |||
) | [inline] |
one entry is called for 'time' seconds.
Definition at line 56 of file trace-summary.h.
References CmiAbort(), count, maxtimes, nEPs, and times.
Referenced by PhaseTable::setEp().
void PhaseEntry::write | ( | FILE * | fp, | |
int | seq | |||
) | [inline] |
write two lines for each phase: 1.
number of calls for each entry; 2. time in us spent for each entry.
Definition at line 67 of file trace-summary.h.
References _entryTable, count, maxtimes, and times.
Referenced by PhaseTable::write().
int PhaseEntry::nEPs [private] |
int* PhaseEntry::count [private] |
Definition at line 49 of file trace-summary.h.
Referenced by PhaseEntry(), setEp(), write(), and ~PhaseEntry().
double* PhaseEntry::times [private] |
Definition at line 50 of file trace-summary.h.
Referenced by PhaseEntry(), setEp(), write(), and ~PhaseEntry().
double* PhaseEntry::maxtimes [private] |
Definition at line 51 of file trace-summary.h.
Referenced by PhaseEntry(), setEp(), write(), and ~PhaseEntry().