PPL Logo

PathHistory Class Reference

A class that is used to track the entry points and other information about a critical path as a charm++ program executes. More...

#include <envelope-path.h>

Collaboration diagram for PathHistory:

Collaboration graph
[legend]

Public Member Functions

const intgetEpIdxCount ()
const intgetArrayIdxCount ()
int getEpIdxCount (int i) const
int getArrayIdxCount (int i) const
double getTotalTime () const
 PathHistory ()
void pup (PUP::er &p)
double getTime ()
void reset ()
int updateMax (const PathHistory &other)
void print () const
void printHTMLToString (char *buf) const
 Write a description of the path into the beginning of the provided buffer. The buffer ought to be large enough.
void incrementTotalTime (double time)
void createPath (PathHistory *parentPath)
void incrementEpIdxCount (int ep)
void incrementArrayIdxCount (int arr)

Private Attributes

int epIdxCount [numEpIdxs]
int arrayIdxCount [numArrayIds]
double totalTime

Detailed Description

A class that is used to track the entry points and other information about a critical path as a charm++ program executes.

This class won't do useful things unless USE_CRITICAL_PATH_HEADER_ARRAY is defined

Definition at line 56 of file envelope-path.h.


Constructor & Destructor Documentation

PathHistory::PathHistory (  )  [inline]

Definition at line 86 of file envelope-path.h.

References reset().

Here is the call graph for this function:


Member Function Documentation

const int* PathHistory::getEpIdxCount (  )  [inline]

Definition at line 64 of file envelope-path.h.

References epIdxCount.

const int* PathHistory::getArrayIdxCount (  )  [inline]

Definition at line 68 of file envelope-path.h.

References arrayIdxCount.

int PathHistory::getEpIdxCount ( int  i  )  const [inline]

Definition at line 72 of file envelope-path.h.

References epIdxCount.

int PathHistory::getArrayIdxCount ( int  i  )  const [inline]

Definition at line 76 of file envelope-path.h.

References arrayIdxCount.

double PathHistory::getTotalTime (  )  const [inline]

Definition at line 81 of file envelope-path.h.

References totalTime.

Referenced by controlPointManager::processControlPoints().

Here is the caller graph for this function:

void PathHistory::pup ( PUP::er p  )  [inline]

Definition at line 90 of file envelope-path.h.

References arrayIdxCount, epIdxCount, and totalTime.

double PathHistory::getTime (  )  [inline]

Definition at line 98 of file envelope-path.h.

References totalTime.

void PathHistory::reset (  )  [inline]

Definition at line 102 of file envelope-path.h.

References arrayIdxCount, epIdxCount, and totalTime.

Referenced by PathHistory().

Here is the caller graph for this function:

int PathHistory::updateMax ( const PathHistory other  )  [inline]

Definition at line 115 of file envelope-path.h.

References arrayIdxCount, epIdxCount, and totalTime.

void PathHistory::print (  )  const [inline]

Definition at line 133 of file envelope-path.h.

References arrayIdxCount, epIdxCount, and totalTime.

void PathHistory::printHTMLToString ( char *  buf  )  const [inline]

Write a description of the path into the beginning of the provided buffer. The buffer ought to be large enough.

Definition at line 149 of file envelope-path.h.

References arrayIdxCount, epIdxCount, and totalTime.

void PathHistory::incrementTotalTime ( double  time  )  [inline]

Definition at line 165 of file envelope-path.h.

References totalTime.

void PathHistory::createPath ( PathHistory parentPath  )  [inline]

Definition at line 171 of file envelope-path.h.

References arrayIdxCount, CmiWallTimer(), epIdxCount, thisMethodSentAMessage, timeEntryMethodStarted, and totalTime.

Here is the call graph for this function:

void PathHistory::incrementEpIdxCount ( int  ep  )  [inline]

Definition at line 202 of file envelope-path.h.

References epIdxCount.

void PathHistory::incrementArrayIdxCount ( int  arr  )  [inline]

Definition at line 206 of file envelope-path.h.

References arrayIdxCount.


Field Documentation

int PathHistory::epIdxCount[numEpIdxs] [private]

int PathHistory::arrayIdxCount[numArrayIds] [private]

double PathHistory::totalTime [private]


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

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