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 ()
 MergeablePathHistory (const MergeablePathHistory &current)
double get_entry_method_time (const MergeablePathHistory &current)
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 hops

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 91 of file pathHistory.h.


Constructor & Destructor Documentation

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

MergeablePathHistory::MergeablePathHistory (  )  [inline]

Definition at line 116 of file pathHistory.h.

References reset().

Referenced by updateMax().

Here is the call graph for this function:

Here is the caller graph for this function:

MergeablePathHistory::MergeablePathHistory ( const MergeablePathHistory current  )  [inline]

Definition at line 120 of file pathHistory.h.

References get_entry_method_time(), hops, local_ep, preceding_path_time, sender_history_table_idx, and sender_pe.

Here is the call graph for this function:


Member Function Documentation

double MergeablePathHistory::get_entry_method_time ( const MergeablePathHistory current  )  [inline]

Definition at line 128 of file pathHistory.h.

References CmiWallTimer(), preceding_path_time, and timeEntryMethodStarted.

Referenced by MergeablePathHistory().

Here is the call graph for this function:

Here is the caller graph for this function:

void MergeablePathHistory::reset ( void   )  [inline]

Definition at line 133 of file pathHistory.h.

References hops, local_ep, preceding_path_time, sender_history_table_idx, sender_pe, and timeEntryMethodStarted.

Referenced by MergeablePathHistory().

Here is the caller graph for this function:

void MergeablePathHistory::sanity_check (  )  [inline]

Definition at line 142 of file pathHistory.h.

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

Here is the call graph for this function:

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

Definition at line 149 of file pathHistory.h.

References CmiWallTimer(), preceding_path_time, and timeEntryMethodStarted.

Referenced by CkReductionMgr::reduceMessages(), and updateMax().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 161 of file pathHistory.h.

References MergeablePathHistory(), and updateMax().

Here is the call graph for this function:

double MergeablePathHistory::getTotalTime (  )  const [inline]

Definition at line 165 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 170 of file pathHistory.h.

References preceding_path_time, sender_history_table_idx, sender_pe, and timeEntryMethodStarted.

void MergeablePathHistory::setDebug100 (  )  [inline]

Definition at line 175 of file pathHistory.h.

References preceding_path_time.


Field Documentation

Definition at line 97 of file pathHistory.h.

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

Definition at line 98 of file pathHistory.h.

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

Definition at line 100 of file pathHistory.h.

Referenced by MergeablePathHistory(), and reset().

Definition at line 102 of file pathHistory.h.

Referenced by MergeablePathHistory(), and reset().


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

Generated on Mon Sep 21 08:27:17 2020 for Charm++ by  doxygen 1.5.5