#include <pathHistory.h>
Public Member Functions | |
MergeablePathHistory (const envelope *env) | |
MergeablePathHistory () | |
MergeablePathHistory (const MergeablePathHistory ¤t) | |
double | get_entry_method_time (const MergeablePathHistory ¤t) |
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 |
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.
MergeablePathHistory::MergeablePathHistory | ( | const envelope * | env | ) | [inline] |
Definition at line 104 of file pathHistory.h.
References PathHistoryEnvelope::get_sender_history_table_idx(), envelope::getEpIdx(), envelope::getSrcPe(), PathHistoryEnvelope::getTime(), hops, local_ep, envelope::pathHistory, preceding_path_time, sender_history_table_idx, sender_pe, and timeEntryMethodStarted.
MergeablePathHistory::MergeablePathHistory | ( | ) | [inline] |
Definition at line 116 of file pathHistory.h.
References reset().
Referenced by updateMax().
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.
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().
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().
void MergeablePathHistory::sanity_check | ( | ) | [inline] |
Definition at line 142 of file pathHistory.h.
References Converse::CkNumPes(), sender_history_table_idx, and sender_pe.
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().
void MergeablePathHistory::updateMax | ( | const envelope * | env | ) | [inline] |
Definition at line 161 of file pathHistory.h.
References MergeablePathHistory(), and updateMax().
double MergeablePathHistory::getTotalTime | ( | ) | const [inline] |
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 93 of file pathHistory.h.
Referenced by get_entry_method_time(), MergeablePathHistory(), printHTMLToString(), reset(), and updateMax().
Definition at line 95 of file pathHistory.h.
Referenced by get_entry_method_time(), getTotalTime(), MergeablePathHistory(), printHTMLToString(), reset(), setDebug100(), and updateMax().
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().