PPL Logo

MergeablePathHistory Class Reference
[Critical Path Detection]

Augments the PathHistory in the envelope with the other necessary information from the envelope. More...

#include <pathHistory.h>

Collaboration diagram for MergeablePathHistory:

Collaboration graph
[legend]

Public Member Functions

 MergeablePathHistory (const envelope *env)
 MergeablePathHistory (const envelope *env)
 MergeablePathHistory ()
void reset ()
void sanity_check ()
void updateMax (const MergeablePathHistory &other)
void updateMax (const envelope *env)
double getTotalTime () 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 setDebug100 ()

Data Fields

double timeEntryMethodStarted
double preceding_path_time
int sender_pe
int sender_history_table_idx
int local_ep
int local_arr

Detailed Description

Augments the PathHistory in the envelope with the other necessary information from the envelope.

These should be derived from an incoming message.

These objects can then be used for storing of information about a path outside of the incoming message's header.

These are used for: 1) information about the currently executing message 2) combining the maximum paths along a reduction 3) combining multiple paths in Charisma and SDAG programs

This can be constructed from an envelope.

Definition at line 105 of file pathHistory.h.


Constructor & Destructor Documentation

MergeablePathHistory::MergeablePathHistory ( const envelope env  )  [inline]

Definition at line 118 of file pathHistory.h.

MergeablePathHistory::MergeablePathHistory ( const envelope env  )  [inline]

Definition at line 129 of file pathHistory.h.

MergeablePathHistory::MergeablePathHistory (  )  [inline]

Definition at line 139 of file pathHistory.h.

References reset().

Referenced by updateMax().


Member Function Documentation

void MergeablePathHistory::reset ( void   )  [inline]

void MergeablePathHistory::sanity_check (  )  [inline]

Definition at line 151 of file pathHistory.h.

References Converse::CkNumPes(), sender_history_table_idx, and sender_pe.

void MergeablePathHistory::updateMax ( const MergeablePathHistory other  )  [inline]

void MergeablePathHistory::updateMax ( const envelope env  )  [inline]

Definition at line 170 of file pathHistory.h.

References MergeablePathHistory(), and updateMax().

double MergeablePathHistory::getTotalTime (  )  const [inline]

Definition at line 174 of file pathHistory.h.

References preceding_path_time.

void MergeablePathHistory::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 179 of file pathHistory.h.

References preceding_path_time, sender_history_table_idx, sender_pe, and timeEntryMethodStarted.

void MergeablePathHistory::setDebug100 (  )  [inline]

Definition at line 186 of file pathHistory.h.

References preceding_path_time.


Field Documentation

Definition at line 107 of file pathHistory.h.

Referenced by printHTMLToString(), and reset().

Definition at line 109 of file pathHistory.h.

Referenced by getTotalTime(), printHTMLToString(), reset(), setDebug100(), and updateMax().

Definition at line 111 of file pathHistory.h.

Referenced by printHTMLToString(), reset(), and sanity_check().

Definition at line 112 of file pathHistory.h.

Referenced by printHTMLToString(), reset(), and sanity_check().

Definition at line 114 of file pathHistory.h.

Referenced by reset().

Definition at line 115 of file pathHistory.h.


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

Generated on Fri May 25 08:04:15 2012 for Charm++ by  doxygen 1.5.5