PPL Logo

PathHistoryTableEntry Class Reference
[Critical Path Detection]

Stores information about the critical path in the table on each PE. More...

#include <pathHistory.h>

Collaboration diagram for PathHistoryTableEntry:

Collaboration graph
[legend]

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

Detailed Description

Stores information about the critical path in the table on each PE.

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

void PathHistoryTableEntry::printInfo ( const char *  prefix = ""  )  [inline]

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

double PathHistoryTableEntry::get_preceding_path_time (  )  const [inline]

Definition at line 258 of file pathHistory.h.

References preceding_path_time.

Referenced by pathHistoryManager::saveCriticalPathForPriorities().

Here is the caller graph for this function:


Field Documentation

Definition at line 194 of file pathHistory.h.

Referenced by get_start_time().

Definition at line 195 of file pathHistory.h.

Referenced by addToTableAndEnvelope(), get_local_path_time(), getTotalTime(), and printInfo().


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

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