PPL Logo

PhaseEntry Class Reference
[Charm++ Trace Module]

a phase entry for trace summary More...

#include <trace-summary.h>

Collaboration diagram for PhaseEntry:

Collaboration graph
[legend]

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
intcount
double * times
double * maxtimes

Detailed Description

a phase entry for trace summary

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


Constructor & Destructor Documentation

PhaseEntry::~PhaseEntry (  )  [inline]

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

References count, maxtimes, and times.


Member Function Documentation

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the caller graph for this function:


Field Documentation

int PhaseEntry::nEPs [private]

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

Referenced by PhaseEntry(), and setEp().

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


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

Generated on Mon Sep 21 08:28:36 2020 for Charm++ by  doxygen 1.5.5