PPL Logo

SumLogPool Class Reference
[Charm++ Trace Module]

summary log pool More...

#include <trace-summary.h>

Collaboration diagram for SumLogPool:

Collaboration graph
[legend]

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)
BinEntrybins ()
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
BinEntrypool
 bins
FILE * fp
FILE * stsfp
FILE * sdfp
char * pgm
SumEntryInfoepInfo
UInt epInfoSize
CkVec< MarkEntry * > events [MAX_MARKS]
int markcount
PhaseTable phaseTab
 for phases
double * cpuTime
 for Summary-Detail
intnumExecutions

Data Structures

struct  MarkEntry
 a mark entry for trace summary More...

Detailed Description

summary log pool

Definition at line 163 of file trace-summary.h.


Member Function Documentation

double* SumLogPool::getCpuTime (  )  [inline]

Definition at line 191 of file trace-summary.h.

References cpuTime.

void SumLogPool::clearEps (  )  [inline]

Definition at line 197 of file trace-summary.h.

References SumEntryInfo::clear(), epInfo, and epInfoSize.

Referenced by TraceSummary::traceClearEps().

Here is the call graph for this function:

Here is the caller graph for this function:

void SumLogPool::startPhase ( int  phase  )  [inline]

Definition at line 205 of file trace-summary.h.

References phaseTab, and PhaseTable::startPhase().

Referenced by TraceSummary::startPhase().

Here is the call graph for this function:

Here is the caller graph for this function:

BinEntry* SumLogPool::bins (  )  [inline]

Definition at line 206 of file trace-summary.h.

References pool.

UInt SumLogPool::getNumEntries (  )  [inline]

Definition at line 207 of file trace-summary.h.

References numBins.

UInt SumLogPool::getEpInfoSize (  )  [inline]

Definition at line 208 of file trace-summary.h.

References epInfoSize.

UInt SumLogPool::getPoolSize (  )  [inline]

Definition at line 209 of file trace-summary.h.

References poolSize.

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().

Here is the call graph for this function:

Here is the caller graph for this function:

double SumLogPool::getCPUtime ( unsigned int  interval,
unsigned int  ep 
) [inline]

Definition at line 216 of file trace-summary.h.

References cpuTime, and epInfoSize.

Referenced by getUtilization(), shrink(), and write().

Here is the caller graph for this function:

void SumLogPool::setCPUtime ( unsigned int  interval,
unsigned int  ep,
double  val 
) [inline]

Definition at line 223 of file trace-summary.h.

References cpuTime, and epInfoSize.

Referenced by shrink().

Here is the caller graph for this function:

double SumLogPool::addToCPUtime ( unsigned int  interval,
unsigned int  ep,
double  val 
) [inline]

Definition at line 225 of file trace-summary.h.

References cpuTime, and epInfoSize.

Referenced by updateSummaryDetail().

Here is the caller graph for this function:

int SumLogPool::getNumExecutions ( unsigned int  interval,
unsigned int  ep 
) [inline]

Definition at line 228 of file trace-summary.h.

References epInfoSize, and numExecutions.

Referenced by shrink(), and write().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

int SumLogPool::incNumExecutions ( unsigned int  interval,
unsigned int  ep 
) [inline]

Definition at line 232 of file trace-summary.h.

References epInfoSize, and numExecutions.

Referenced by updateSummaryDetail().

Here is the caller graph for this function:


Field Documentation

Definition at line 165 of file trace-summary.h.

Referenced by add(), getPoolSize(), initMem(), SumLogPool(), and updateSummaryDetail().

Definition at line 166 of file trace-summary.h.

Referenced by add(), getNumEntries(), shrink(), and write().

bins

Definition at line 167 of file trace-summary.h.

Referenced by add(), bins(), getTime(), shrink(), SumLogPool(), write(), and ~SumLogPool().

FILE* SumLogPool::fp [private]

Definition at line 168 of file trace-summary.h.

Referenced by write(), and ~SumLogPool().

FILE * SumLogPool::stsfp [private]

Definition at line 168 of file trace-summary.h.

Referenced by SumLogPool(), and writeSts().

FILE * SumLogPool::sdfp [private]

Definition at line 168 of file trace-summary.h.

Referenced by write(), and ~SumLogPool().

char* SumLogPool::pgm [private]

Definition at line 169 of file trace-summary.h.

Referenced by write().

Definition at line 171 of file trace-summary.h.

Referenced by clearEps(), initMem(), setEp(), write(), and ~SumLogPool().

CkVec<MarkEntry *> SumLogPool::events[MAX_MARKS] [private]

Definition at line 178 of file trace-summary.h.

Referenced by addEventType(), write(), and ~SumLogPool().

Definition at line 179 of file trace-summary.h.

Referenced by addEventType(), SumLogPool(), write(), and ~SumLogPool().

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().


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:30:17 2020 for Charm++ by  doxygen 1.5.5