#include <controlPoints.h>
Public Member Functions | |
instrumentedPhase () | |
void | clear () |
bool | haveValueForName (const char *name) |
void | operator= (const instrumentedPhase &p) |
bool | operator< (const instrumentedPhase &p) |
bool | hasValidControlPointValues () |
bool | operator== (const instrumentedPhase &p) |
bool | hasSameKeysAs (const instrumentedPhase &p) |
Verify the names of the control points are consistent note: std::map stores the pairs in a sorted order based on their first component. | |
void | addAllNames (std::set< std::string > names_) |
void | print () const |
double | medianTime () |
Determine the median time for this phase. | |
Data Fields | |
std::map< std::string, int > | controlPoints |
std::vector< double > | times |
std::vector < PathHistoryTableEntry > | criticalPaths |
double | memoryUsageMB |
idleTimeContainer | idleTime |
overheadContainer | overheadTime |
double | bytesPerInvoke |
Approximately records the average message size for an entry method. | |
double | grainSize |
Records the average grain size (might be off a bit due to non application entry methods), in seconds. |
The data stored includes the control point values, a set of timings registered by the application, The critical paths detected, the max memory usage, and the idle time.
Definition at line 179 of file controlPoints.h.
instrumentedPhase::instrumentedPhase | ( | ) | [inline] |
Definition at line 201 of file controlPoints.h.
References bytesPerInvoke, grainSize, and memoryUsageMB.
void instrumentedPhase::clear | ( | ) | [inline] |
Definition at line 207 of file controlPoints.h.
References bytesPerInvoke, controlPoints, grainSize, memoryUsageMB, and times.
bool instrumentedPhase::haveValueForName | ( | const char * | name | ) | [inline] |
void instrumentedPhase::operator= | ( | const instrumentedPhase & | p | ) | [inline] |
bool instrumentedPhase::operator< | ( | const instrumentedPhase & | p | ) | [inline] |
Definition at line 230 of file controlPoints.h.
References controlPoints, and hasSameKeysAs().
bool instrumentedPhase::hasValidControlPointValues | ( | ) | [inline] |
bool instrumentedPhase::operator== | ( | const instrumentedPhase & | p | ) | [inline] |
Definition at line 284 of file controlPoints.h.
References controlPoints, and hasSameKeysAs().
bool instrumentedPhase::hasSameKeysAs | ( | const instrumentedPhase & | p | ) | [inline] |
Verify the names of the control points are consistent note: std::map stores the pairs in a sorted order based on their first component.
Definition at line 298 of file controlPoints.h.
References controlPoints.
Referenced by operator<(), operator==(), and instrumentedData::verify().
void instrumentedPhase::addAllNames | ( | std::set< std::string > | names_ | ) | [inline] |
void instrumentedPhase::print | ( | void | ) | const [inline] |
Definition at line 337 of file controlPoints.h.
References controlPoints, and name.
Referenced by controlPointManager::generatePlan().
double instrumentedPhase::medianTime | ( | ) | [inline] |
Determine the median time for this phase.
Definition at line 353 of file controlPoints.h.
std::map<std::string,int> instrumentedPhase::controlPoints |
Definition at line 181 of file controlPoints.h.
Referenced by addAllNames(), clear(), controlPoint(), simplexScheme::doReflection(), controlPointManager::generatePlan(), hasSameKeysAs(), hasValidControlPointValues(), haveValueForName(), controlPointManager::loadDataFile(), operator<(), operator=(), operator==(), print(), and controlPointManager::processControlPoints().
std::vector<double> instrumentedPhase::times |
Definition at line 182 of file controlPoints.h.
Referenced by clear(), controlPointManager::generatePlan(), controlPointManager::loadDataFile(), medianTime(), operator=(), controlPointManager::processControlPoints(), and controlPointManager::setTiming().
std::vector<PathHistoryTableEntry> instrumentedPhase::criticalPaths |
Definition at line 185 of file controlPoints.h.
Referenced by controlPointManager::processControlPoints().
Definition at line 188 of file controlPoints.h.
Referenced by clear(), controlPointManager::gatherAll(), controlPointManager::gatherMemoryUsage(), controlPointManager::generatePlan(), instrumentedPhase(), controlPointManager::loadDataFile(), and operator=().
Definition at line 190 of file controlPoints.h.
Referenced by controlPointManager::gatherAll(), controlPointManager::gatherIdleTime(), controlPointManager::generatePlan(), controlPointManager::loadDataFile(), and controlPointManager::processControlPoints().
Definition at line 191 of file controlPoints.h.
Referenced by controlPointManager::gatherAll(), controlPointManager::generatePlan(), and controlPointManager::loadDataFile().
Approximately records the average message size for an entry method.
Definition at line 195 of file controlPoints.h.
Referenced by clear(), controlPointManager::gatherAll(), instrumentedPhase(), and controlPointManager::loadDataFile().
double instrumentedPhase::grainSize |
Records the average grain size (might be off a bit due to non application entry methods), in seconds.
Definition at line 198 of file controlPoints.h.
Referenced by clear(), controlPointManager::gatherAll(), instrumentedPhase(), and controlPointManager::loadDataFile().