PPL Logo

PhaseTable Class Reference
[Charm++ Trace Module]

table of PhaseEntry More...

#include <trace-summary.h>

Collaboration diagram for PhaseTable:

Collaboration graph
[legend]

Public Member Functions

 PhaseTable (int n)
 ~PhaseTable ()
int numPhasesCalled ()
void startPhase (int p)
 start a phase.
void setEp (int epidx, double time)
void write (FILE *fp)

Private Attributes

PhaseEntry ** phases
int numPhase
 phase table size
int cur_phase
 current phase
int phaseCalled
 total number of phases

Detailed Description

table of PhaseEntry

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


Constructor & Destructor Documentation

PhaseTable::PhaseTable ( int  n  )  [inline]

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

References cur_phase, phaseCalled, and phases.

PhaseTable::~PhaseTable (  )  [inline]

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

References numPhase, and phases.


Member Function Documentation

int PhaseTable::numPhasesCalled (  )  [inline]

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

References phaseCalled.

Referenced by SumLogPool::write().

Here is the caller graph for this function:

void PhaseTable::startPhase ( int  p  )  [inline]

start a phase.

If new, create a new PhaseEntry

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

References CmiAbort(), cur_phase, numPhase, phaseCalled, and phases.

Referenced by SumLogPool::startPhase().

Here is the call graph for this function:

Here is the caller graph for this function:

void PhaseTable::setEp ( int  epidx,
double  time 
) [inline]

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

References CmiAbort(), cur_phase, phases, and PhaseEntry::setEp().

Referenced by SumLogPool::setEp().

Here is the call graph for this function:

Here is the caller graph for this function:

void PhaseTable::write ( FILE *  fp  )  [inline]

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

References numPhase, phases, and PhaseEntry::write().

Referenced by SumLogPool::write().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

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

Referenced by PhaseTable(), setEp(), startPhase(), write(), and ~PhaseTable().

phase table size

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

Referenced by startPhase(), write(), and ~PhaseTable().

current phase

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

Referenced by PhaseTable(), setEp(), and startPhase().

total number of phases

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

Referenced by numPhasesCalled(), PhaseTable(), and startPhase().


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

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