#include <trace-summary.h>
Collaboration diagram for SumLogPool:

Public Member Functions | |
| SumLogPool (char *pgm) | |
| ~SumLogPool () | |
| void | initMem () |
| void | write (void) |
| void | writeSts (void) |
| void | add (double time, int pe) |
| void | setEp (int epidx, double time) |
| void | clearEps () |
| void | shrink (void) |
| void | addEventType (int eventType, double time) |
| void | startPhase (int phase) |
| BinEntry * | bins () |
| int | getNumEntries () |
| void | updateSummaryDetail (int epIdx, double startTime, double endTime) |
Private Member Functions | |
| double | getCPUtime (unsigned int interval, unsigned int ep) |
| void | setCPUtime (unsigned int interval, unsigned int ep, double val) |
| double | addToCPUtime (unsigned int interval, unsigned int ep, double val) |
| int | getNumExecutions (unsigned int interval, unsigned int ep) |
| void | setNumExecutions (unsigned int interval, unsigned int ep, unsigned int val) |
| int | incNumExecutions (unsigned int interval, unsigned int ep) |
| int | getUtilization (int interval, int ep) |
Private Attributes | |
| UInt | poolSize |
| UInt | numBins |
| BinEntry * | pool |
| bins | |
| FILE * | fp |
| FILE * | stsfp |
| FILE * | sdfp |
| char * | pgm |
| SumEntryInfo * | epInfo |
| UInt | epInfoSize |
| CkVec< MarkEntry * > | events [MAX_MARKS] |
| int | markcount |
| PhaseTable | phaseTab |
| for phases | |
| double * | cpuTime |
| for Summary-Detail | |
| int * | numExecutions |
Data Structures | |
| struct | MarkEntry |
| a mark entry for trace summary More... | |
Definition at line 167 of file trace-summary.h.
Definition at line 192 of file trace-summary.h.
References cpuTime, and epInfoSize.
Referenced by getUtilization(), shrink(), and write().
| void SumLogPool::setCPUtime | ( | unsigned int | interval, | |
| unsigned int | ep, | |||
| double | val | |||
| ) | [inline, private] |
Definition at line 194 of file trace-summary.h.
References cpuTime, and epInfoSize.
Referenced by shrink().
| double SumLogPool::addToCPUtime | ( | unsigned int | interval, | |
| unsigned int | ep, | |||
| double | val | |||
| ) | [inline, private] |
Definition at line 196 of file trace-summary.h.
References cpuTime, and epInfoSize.
Referenced by updateSummaryDetail().
| void SumLogPool::setNumExecutions | ( | unsigned int | interval, | |
| unsigned int | ep, | |||
| unsigned int | val | |||
| ) | [inline, private] |
Definition at line 201 of file trace-summary.h.
References epInfoSize, and numExecutions.
Referenced by shrink().
Definition at line 203 of file trace-summary.h.
References epInfoSize, and numExecutions.
Referenced by updateSummaryDetail().
| void SumLogPool::clearEps | ( | ) | [inline] |
Definition at line 216 of file trace-summary.h.
References epInfo, and epInfoSize.
Referenced by TraceSummary::traceClearEps().
| void SumLogPool::startPhase | ( | int | phase | ) | [inline] |
Definition at line 223 of file trace-summary.h.
References phaseTab, and PhaseTable::startPhase().
Referenced by TraceSummary::startPhase().
| BinEntry* SumLogPool::bins | ( | ) | [inline] |
| int SumLogPool::getNumEntries | ( | ) | [inline] |
UInt SumLogPool::poolSize [private] |
Definition at line 169 of file trace-summary.h.
Referenced by add(), initMem(), SumLogPool(), and updateSummaryDetail().
UInt SumLogPool::numBins [private] |
Definition at line 170 of file trace-summary.h.
Referenced by add(), getNumEntries(), shrink(), and write().
BinEntry* SumLogPool::pool [private] |
bins
Definition at line 171 of file trace-summary.h.
Referenced by add(), bins(), shrink(), SumLogPool(), write(), and ~SumLogPool().
FILE* SumLogPool::fp [private] |
FILE * SumLogPool::stsfp [private] |
FILE * SumLogPool::sdfp [private] |
char* SumLogPool::pgm [private] |
SumEntryInfo* SumLogPool::epInfo [private] |
Definition at line 175 of file trace-summary.h.
Referenced by clearEps(), initMem(), setEp(), write(), and ~SumLogPool().
UInt SumLogPool::epInfoSize [private] |
Definition at line 176 of file trace-summary.h.
Referenced by addToCPUtime(), clearEps(), getCPUtime(), getNumExecutions(), incNumExecutions(), initMem(), setCPUtime(), setEp(), setNumExecutions(), shrink(), and updateSummaryDetail().
CkVec<MarkEntry *> SumLogPool::events[MAX_MARKS] [private] |
Definition at line 182 of file trace-summary.h.
Referenced by addEventType(), write(), and ~SumLogPool().
int SumLogPool::markcount [private] |
Definition at line 183 of file trace-summary.h.
Referenced by addEventType(), SumLogPool(), write(), and ~SumLogPool().
PhaseTable SumLogPool::phaseTab [private] |
for phases
Definition at line 186 of file trace-summary.h.
Referenced by setEp(), startPhase(), and write().
double* SumLogPool::cpuTime [private] |
for Summary-Detail
Definition at line 189 of file trace-summary.h.
Referenced by addToCPUtime(), getCPUtime(), initMem(), setCPUtime(), shrink(), and ~SumLogPool().
int* SumLogPool::numExecutions [private] |
Definition at line 190 of file trace-summary.h.
Referenced by getNumExecutions(), incNumExecutions(), initMem(), setNumExecutions(), shrink(), and ~SumLogPool().
1.5.1