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 (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_arr
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 200 of file pathHistory.h.


Constructor & Destructor Documentation

PathHistoryTableEntry::PathHistoryTableEntry (  )  [inline]

Definition at line 217 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 232 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 246 of file pathHistory.h.


Member Function Documentation

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

double PathHistoryTableEntry::getTotalTime (  )  [inline]

Return the length of the path up to and including this entry.

Definition at line 272 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]

double PathHistoryTableEntry::get_local_path_time (  )  const [inline]

double PathHistoryTableEntry::get_preceding_path_time (  )  const [inline]

Definition at line 278 of file pathHistory.h.

References preceding_path_time.

Referenced by pathHistoryManager::saveCriticalPathForPriorities().


Field Documentation

Definition at line 206 of file pathHistory.h.

Referenced by printInfo(), and pathHistoryManager::saveCriticalPathForPriorities().

Definition at line 207 of file pathHistory.h.

Referenced by pathHistoryManager::saveCriticalPathForPriorities().

Definition at line 211 of file pathHistory.h.

Referenced by get_start_time().

Definition at line 212 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 Fri May 25 08:04:44 2012 for Charm++ by  doxygen 1.5.5