
#include <trace-summary.h>

Public Member Functions | |
| SumLogPool (char *pgm) | |
| ~SumLogPool () | |
| double * | getCpuTime () |
| void | initMem () |
| void | write (void) |
| void | writeSts (void) |
| void | add (double time, double idleTime, int pe) |
| void | setEp (int epidx, double time) |
| void | clearEps () |
| void | shrink (void) |
| void | shrink (double max) |
| void | addEventType (int eventType, double time) |
| void | startPhase (int phase) |
| BinEntry * | bins () |
| UInt | getNumEntries () |
| UInt | getEpInfoSize () |
| UInt | getPoolSize () |
| double | getTime (unsigned int interval) |
| 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) |
| void | updateSummaryDetail (int epIdx, double startTime, double endTime) |
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 163 of file trace-summary.h.
| double* SumLogPool::getCpuTime | ( | ) | [inline] |
| void SumLogPool::clearEps | ( | ) | [inline] |
Definition at line 197 of file trace-summary.h.
References SumEntryInfo::clear(), epInfo, and epInfoSize.
Referenced by TraceSummary::traceClearEps().


| void SumLogPool::startPhase | ( | int | phase | ) | [inline] |
Definition at line 205 of file trace-summary.h.
References phaseTab, and PhaseTable::startPhase().
Referenced by TraceSummary::startPhase().


| BinEntry* SumLogPool::bins | ( | ) | [inline] |
| UInt SumLogPool::getNumEntries | ( | ) | [inline] |
| UInt SumLogPool::getEpInfoSize | ( | ) | [inline] |
| UInt SumLogPool::getPoolSize | ( | ) | [inline] |
| double SumLogPool::getTime | ( | unsigned int | interval | ) | [inline] |
Definition at line 211 of file trace-summary.h.
References pool, and BinEntry::time().
Referenced by TraceSummary::fillData().


Definition at line 216 of file trace-summary.h.
References cpuTime, and epInfoSize.
Referenced by getUtilization(), shrink(), and write().

Definition at line 223 of file trace-summary.h.
References cpuTime, and epInfoSize.
Referenced by shrink().

Definition at line 225 of file trace-summary.h.
References cpuTime, and epInfoSize.
Referenced by updateSummaryDetail().

Definition at line 228 of file trace-summary.h.
References epInfoSize, and numExecutions.
Referenced by shrink(), and write().

| void SumLogPool::setNumExecutions | ( | unsigned int | interval, | |
| unsigned int | ep, | |||
| unsigned int | val | |||
| ) | [inline] |
Definition at line 230 of file trace-summary.h.
References epInfoSize, and numExecutions.
Referenced by shrink().

Definition at line 232 of file trace-summary.h.
References epInfoSize, and numExecutions.
Referenced by updateSummaryDetail().

UInt SumLogPool::poolSize [private] |
Definition at line 165 of file trace-summary.h.
Referenced by add(), getPoolSize(), initMem(), SumLogPool(), and updateSummaryDetail().
UInt SumLogPool::numBins [private] |
Definition at line 166 of file trace-summary.h.
Referenced by add(), getNumEntries(), shrink(), and write().
BinEntry* SumLogPool::pool [private] |
bins
Definition at line 167 of file trace-summary.h.
Referenced by add(), bins(), getTime(), 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 171 of file trace-summary.h.
Referenced by clearEps(), initMem(), setEp(), write(), and ~SumLogPool().
UInt SumLogPool::epInfoSize [private] |
Definition at line 172 of file trace-summary.h.
Referenced by addToCPUtime(), clearEps(), getCPUtime(), getEpInfoSize(), getNumExecutions(), incNumExecutions(), initMem(), setCPUtime(), setEp(), setNumExecutions(), shrink(), and updateSummaryDetail().
CkVec<MarkEntry *> SumLogPool::events[MAX_MARKS] [private] |
Definition at line 178 of file trace-summary.h.
Referenced by addEventType(), write(), and ~SumLogPool().
int SumLogPool::markcount [private] |
Definition at line 179 of file trace-summary.h.
Referenced by addEventType(), SumLogPool(), write(), and ~SumLogPool().
PhaseTable SumLogPool::phaseTab [private] |
for phases
Definition at line 182 of file trace-summary.h.
Referenced by setEp(), startPhase(), and write().
double* SumLogPool::cpuTime [private] |
for Summary-Detail
Definition at line 185 of file trace-summary.h.
Referenced by addToCPUtime(), getCPUtime(), getCpuTime(), initMem(), setCPUtime(), shrink(), SumLogPool(), and ~SumLogPool().
int* SumLogPool::numExecutions [private] |
Definition at line 186 of file trace-summary.h.
Referenced by getNumExecutions(), incNumExecutions(), initMem(), setNumExecutions(), shrink(), and ~SumLogPool().
1.5.5