#include <pathHistory.h>
Public Member Functions | |
PathHistoryTableEntry () | |
PathHistoryTableEntry (const MergeablePathHistory &p, double localContribution=0.0) | |
Construct an entry for the table assuming the start time in input path is correct. | |
PathHistoryTableEntry (const MergeablePathHistory &p, double start, double finish) | |
Construct an entry with the actual start and end times for it. | |
void | printInfo (const char *prefix="") |
int | addToTableAndEnvelope (envelope *env) |
Add an entry for this path history into the table, and write the corresponding information into the provided header. | |
int | addToTable () |
Add an entry for this path history into the table. Returns the new index in the table. | |
double | getTotalTime () |
Return the length of the path up to and including this entry. | |
double | get_start_time () const |
double | get_local_path_time () const |
double | get_preceding_path_time () const |
Data Fields | |
int | sender_pe |
int | sender_history_table_idx |
int | local_ep |
int | local_pe |
Private Attributes | |
double | start_time |
double | local_path_time |
double | preceding_path_time |
The PAG can be constructed by merging these together. These can be constructed from a MergeablePathHistory, and are assumed to refer to the local PE.
Definition at line 187 of file pathHistory.h.
PathHistoryTableEntry::PathHistoryTableEntry | ( | ) | [inline] |
Definition at line 200 of file pathHistory.h.
PathHistoryTableEntry::PathHistoryTableEntry | ( | const MergeablePathHistory & | p, | |
double | localContribution = 0.0 | |||
) | [inline] |
Construct an entry for the table assuming the start time in input path is correct.
Definition at line 214 of file pathHistory.h.
References timeEntryMethodStarted.
PathHistoryTableEntry::PathHistoryTableEntry | ( | const MergeablePathHistory & | p, | |
double | start, | |||
double | finish | |||
) | [inline] |
Construct an entry with the actual start and end times for it.
Definition at line 227 of file pathHistory.h.
void PathHistoryTableEntry::printInfo | ( | const char * | prefix = "" |
) | [inline] |
Definition at line 239 of file pathHistory.h.
References local_ep, local_path_time, preceding_path_time, sender_history_table_idx, and sender_pe.
double PathHistoryTableEntry::getTotalTime | ( | ) | [inline] |
Return the length of the path up to and including this entry.
Definition at line 252 of file pathHistory.h.
References local_path_time, and preceding_path_time.
Referenced by criticalPath_split(), and saveCurrentPathAsUserEvent().
double PathHistoryTableEntry::get_start_time | ( | ) | const [inline] |
Definition at line 256 of file pathHistory.h.
References start_time.
Referenced by pathHistoryManager::broadcastCriticalPathProjections(), and pathHistoryManager::saveCriticalPathForPriorities().
double PathHistoryTableEntry::get_local_path_time | ( | ) | const [inline] |
Definition at line 257 of file pathHistory.h.
References local_path_time.
Referenced by pathHistoryManager::broadcastCriticalPathProjections(), and pathHistoryManager::saveCriticalPathForPriorities().
double PathHistoryTableEntry::get_preceding_path_time | ( | ) | const [inline] |
Definition at line 258 of file pathHistory.h.
References preceding_path_time.
Referenced by pathHistoryManager::saveCriticalPathForPriorities().
Definition at line 189 of file pathHistory.h.
Referenced by printInfo(), and pathHistoryManager::traceCriticalPathBackStepByStep().
Definition at line 190 of file pathHistory.h.
Referenced by addToTable(), printInfo(), and pathHistoryManager::traceCriticalPathBackStepByStep().
Definition at line 191 of file pathHistory.h.
Referenced by addToTable(), criticalPath_start(), printInfo(), and pathHistoryManager::saveCriticalPathForPriorities().
Definition at line 192 of file pathHistory.h.
Referenced by addToTable(), pathHistoryManager::broadcastCriticalPathProjections(), and pathHistoryManager::saveCriticalPathForPriorities().
double PathHistoryTableEntry::start_time [private] |
double PathHistoryTableEntry::local_path_time [private] |
Definition at line 195 of file pathHistory.h.
Referenced by addToTableAndEnvelope(), get_local_path_time(), getTotalTime(), and printInfo().
double PathHistoryTableEntry::preceding_path_time [private] |
Definition at line 196 of file pathHistory.h.
Referenced by addToTableAndEnvelope(), get_preceding_path_time(), getTotalTime(), and printInfo().