PPL Logo

PathHistoryEnvelope Class Reference
[Critical Path Detection]

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.h>

Collaboration diagram for PathHistoryEnvelope:

Collaboration graph
[legend]

Public Member Functions

double getTotalTime () const
int get_sender_history_table_idx () const
void set_sender_history_table_idx (int i)
 PathHistoryEnvelope ()
double getTime () const
void setTime (double t)
void pup (PUP::er &p)
void reset ()
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.
int getNumUsed () const
 The number of available EP counts.
int getUsedCount (int idx) const
 Return the count value for the idx'th available EP.
int getUsedEp (int idx) const
 Return the idx'th available EP.
int getEpCount (int ep) const
void incrementTotalTime (double time)
void setDebug100 ()

Protected Attributes

int sender_history_table_idx
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 49 of file envelope.h.


Constructor & Destructor Documentation

PathHistoryEnvelope::PathHistoryEnvelope (  )  [inline]

Definition at line 58 of file envelope.h.

References reset().

Here is the call graph for this function:


Member Function Documentation

double PathHistoryEnvelope::getTotalTime (  )  const [inline]

Definition at line 55 of file envelope.h.

References totalTime.

Referenced by criticalPath_start().

Here is the caller graph for this function:

int PathHistoryEnvelope::get_sender_history_table_idx (  )  const [inline]

Definition at line 56 of file envelope.h.

References sender_history_table_idx.

Referenced by criticalPath_start(), and MergeablePathHistory::MergeablePathHistory().

Here is the caller graph for this function:

void PathHistoryEnvelope::set_sender_history_table_idx ( int  i  )  [inline]

Definition at line 57 of file envelope.h.

References sender_history_table_idx.

Referenced by PathHistoryTableEntry::addToTableAndEnvelope().

Here is the caller graph for this function:

double PathHistoryEnvelope::getTime (  )  const [inline]

Definition at line 61 of file envelope.h.

References totalTime.

Referenced by MergeablePathHistory::MergeablePathHistory().

Here is the caller graph for this function:

void PathHistoryEnvelope::setTime ( double  t  )  [inline]

Definition at line 62 of file envelope.h.

References totalTime.

Referenced by PathHistoryTableEntry::addToTableAndEnvelope().

Here is the caller graph for this function:

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

Definition at line 63 of file envelope.h.

References sender_history_table_idx, and totalTime.

void PathHistoryEnvelope::reset (  ) 

Referenced by PathHistoryEnvelope().

Here is the caller graph for this function:

void PathHistoryEnvelope::print (  )  const

void PathHistoryEnvelope::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 70 of file envelope.h.

References sender_history_table_idx, and totalTime.

int PathHistoryEnvelope::getNumUsed (  )  const

The number of available EP counts.

int PathHistoryEnvelope::getUsedCount ( int  idx  )  const

Return the count value for the idx'th available EP.

int PathHistoryEnvelope::getUsedEp ( int  idx  )  const

Return the idx'th available EP.

int PathHistoryEnvelope::getEpCount ( int  ep  )  const

void PathHistoryEnvelope::incrementTotalTime ( double  time  ) 

void PathHistoryEnvelope::setDebug100 (  ) 


Field Documentation

double PathHistoryEnvelope::totalTime [protected]

Definition at line 53 of file envelope.h.

Referenced by getTime(), getTotalTime(), printHTMLToString(), pup(), and setTime().


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

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