Go to the source code of this file.
Classes | |
| struct | gpconfig |
| struct | timersettings |
| struct | pctimervalue |
| struct | pcruninfo |
| struct | pcrun |
Typedefs | |
| typedef apptools::parameters | ConfigType |
| typedef apptools::comlinehandler | CommandLineType |
| typedef std::map< std::string, struct pctimervalue > | pcruntimes |
| typedef std::list< std::string > | timerlist |
| typedef std::map< std::string, timerlist > | derivedtimers |
Functions | |
| std::string | MakePlotTitle (const pcruninfo &pcRunInfo, const timersettings &timerSettings, int mode=0) |
| void | SetupGnuPlot (std::ostream &outStream, const timersettings &timerSettings, const std::string &idString, bool toDisplay=false) |
| void | SingleRunPlotCommands (std::ostream &outStream, const std::string &dataFileName, const std::vector< struct pcrun > &pcRuns, int runIndex, const timersettings &timerSettings, bool toDisplay=false) |
| void | MultiRunPlotCommands (std::ostream &outStream, const std::string &dataFileName, const std::vector< struct pcrun > &pcRuns, const timersettings &timerSettings, bool toDisplay=false) |
| void | SpeedUpPlotCommands (std::ostream &outStream, const std::string &dataFileName, const timerlist &timerList, const std::vector< struct pcrun > &pcRuns, const timersettings &timerSettings, bool toDisplay=false, bool linScale=false) |
| std::string | FormatName (const std::string &inName) |
| void | SummarizeScalabilityData (std::ostream &outStream, const std::vector< struct pcrun > &pcRuns, const timerlist &timerList, const timersettings &timerSettings) |
| void | SummarizeTimingData (std::ostream &outStream, const std::vector< struct pcrun > &pcRuns, const timerlist &timerList, const timersettings &timerSettings) |
| bool | TimerIncluded (const std::string &routineName, const timerlist &timerList) |
| int | GetDerivedOperationForRoutine (const std::string &timerName, const std::string &routineName, const derivedtimers &derivedTimers) |
| std::vector< std::string > | GetDerivedTimerNames (const std::string &routineName, const derivedtimers &derivedTimers) |
| pcruntimes | ProcessRun (const pcruninfo &pcRunInfo, const pcruntimes &rawRunTimes, const derivedtimers &derivedTimers, const timerlist &excludedTimers, const timersettings &timerSettings, pctimervalue &timingDelta) |
| void | ReadTimers (pcruntimes &routineTimes, std::ifstream &inFile, int dataColumn) |
| void | SetConfigurationDefaults (ConfigType &inConfig) |
| void | PopulateRunInfo (pcruninfo &pcRunInfo, std::ifstream &inFile) |
| void | SetupTimerSettings (timersettings &timerSettings, const ConfigType &inConfig) |
| void | SetupExcludedTimers (timerlist &excludedTimers, const ConfigType &inConfig) |
| void | SetupDerivedTimers (derivedtimers &derivedTimers, const ConfigType &inConfig) |
Definition at line 5 of file PerfPlot.H.
| typedef apptools::parameters ConfigType |
Definition at line 4 of file PerfPlot.H.
| typedef std::map<std::string,timerlist> derivedtimers |
Definition at line 61 of file PerfPlot.H.
| typedef std::map<std::string,struct pctimervalue> pcruntimes |
Definition at line 54 of file PerfPlot.H.
| typedef std::list<std::string> timerlist |
Definition at line 60 of file PerfPlot.H.
| std::string FormatName | ( | const std::string & | inName | ) |
Definition at line 264 of file PerfPlot.H.
References x.
Referenced by SummarizeScalabilityData(), and SummarizeTimingData().
| int GetDerivedOperationForRoutine | ( | const std::string & | timerName, |
| const std::string & | routineName, | ||
| const derivedtimers & | derivedTimers | ||
| ) |
Definition at line 398 of file PerfPlot.H.
Referenced by ProcessRun().
| std::vector<std::string> GetDerivedTimerNames | ( | const std::string & | routineName, |
| const derivedtimers & | derivedTimers | ||
| ) |
Definition at line 428 of file PerfPlot.H.
References TimerIncluded(), and timerNames.
Referenced by ProcessRun().
| std::string MakePlotTitle | ( | const pcruninfo & | pcRunInfo, |
| const timersettings & | timerSettings, | ||
| int | mode = 0 |
||
| ) |
Definition at line 63 of file PerfPlot.H.
References timersettings::applicationName, timersettings::gridMode, pcruninfo::ngridpoints, pcruninfo::numgrids, numPoints, pcruninfo::numproc, pcruninfo::numthreads, timersettings::platformName, timersettings::plotTitles, and timersettings::weakMode.
Referenced by MultiRunPlotCommands(), SingleRunPlotCommands(), and SpeedUpPlotCommands().
| void MultiRunPlotCommands | ( | std::ostream & | outStream, |
| const std::string & | dataFileName, | ||
| const std::vector< struct pcrun > & | pcRuns, | ||
| const timersettings & | timerSettings, | ||
| bool | toDisplay = false |
||
| ) |
Definition at line 167 of file PerfPlot.H.
References timersettings::gridMode, MakePlotTitle(), and SetupGnuPlot().
Referenced by main().
| void PopulateRunInfo | ( | pcruninfo & | pcRunInfo, |
| std::ifstream & | inFile | ||
| ) |
Definition at line 551 of file PerfPlot.H.
References pcruninfo::ngridpoints, pcruninfo::ngridpointstotal, pcruninfo::ngridproc, pcruninfo::numgrids, pcruninfo::numproc, pcruninfo::numsteps, pcruninfo::numthreads, pcruninfo::totalRuntime, and y.
Referenced by main().
| pcruntimes ProcessRun | ( | const pcruninfo & | pcRunInfo, |
| const pcruntimes & | rawRunTimes, | ||
| const derivedtimers & | derivedTimers, | ||
| const timerlist & | excludedTimers, | ||
| const timersettings & | timerSettings, | ||
| pctimervalue & | timingDelta | ||
| ) |
Definition at line 442 of file PerfPlot.H.
References timersettings::applicationName, GetDerivedOperationForRoutine(), GetDerivedTimerNames(), timersettings::importantLimit, pctimervalue::max, pctimervalue::mean, pctimervalue::min, TimerIncluded(), timerNames, pcruninfo::totalRuntime, and timersettings::totalTimer.
Referenced by main().
| void ReadTimers | ( | pcruntimes & | routineTimes, |
| std::ifstream & | inFile, | ||
| int | dataColumn | ||
| ) |
Definition at line 515 of file PerfPlot.H.
References pctimervalue::max, pctimervalue::mean, and pctimervalue::min.
Referenced by main().
| void SetConfigurationDefaults | ( | ConfigType & | inConfig | ) |
Definition at line 536 of file PerfPlot.H.
| void SetupDerivedTimers | ( | derivedtimers & | derivedTimers, |
| const ConfigType & | inConfig | ||
| ) |
Definition at line 661 of file PerfPlot.H.
References parameters::GetValueList().
Referenced by main().
| void SetupExcludedTimers | ( | timerlist & | excludedTimers, |
| const ConfigType & | inConfig | ||
| ) |
Definition at line 655 of file PerfPlot.H.
References parameters::GetValueList().
Referenced by main().
| void SetupGnuPlot | ( | std::ostream & | outStream, |
| const timersettings & | timerSettings, | ||
| const std::string & | idString, | ||
| bool | toDisplay = false |
||
| ) |
Definition at line 120 of file PerfPlot.H.
References timersettings::gpConfig, gpconfig::gpCustomConfig, gpconfig::gpDisplayTerm, gpconfig::gpFileName, and gpconfig::gpFileTerm.
Referenced by MultiRunPlotCommands(), SingleRunPlotCommands(), and SpeedUpPlotCommands().
| void SetupTimerSettings | ( | timersettings & | timerSettings, |
| const ConfigType & | inConfig | ||
| ) |
Definition at line 614 of file PerfPlot.H.
References timersettings::applicationName, timersettings::dataColumn, parameters::GetFlagValue(), parameters::GetValue(), parameters::GetValueVector(), timersettings::gpConfig, gpconfig::gpCustomConfig, gpconfig::gpDisplayTerm, gpconfig::gpFileName, gpconfig::gpFileTerm, timersettings::gridMode, timersettings::importantLimit, parameters::IsSet(), parameters::Param(), timersettings::platformName, and timersettings::weakMode.
Referenced by main().
| void SingleRunPlotCommands | ( | std::ostream & | outStream, |
| const std::string & | dataFileName, | ||
| const std::vector< struct pcrun > & | pcRuns, | ||
| int | runIndex, | ||
| const timersettings & | timerSettings, | ||
| bool | toDisplay = false |
||
| ) |
Definition at line 149 of file PerfPlot.H.
References MakePlotTitle(), and SetupGnuPlot().
Referenced by main().
| void SpeedUpPlotCommands | ( | std::ostream & | outStream, |
| const std::string & | dataFileName, | ||
| const timerlist & | timerList, | ||
| const std::vector< struct pcrun > & | pcRuns, | ||
| const timersettings & | timerSettings, | ||
| bool | toDisplay = false, |
||
| bool | linScale = false |
||
| ) |
Definition at line 198 of file PerfPlot.H.
References timersettings::effMode, timersettings::gridMode, MakePlotTitle(), pcruninfo::ngridpointstotal, pcruninfo::numproc, pcruninfo::numthreads, timersettings::platformName, and SetupGnuPlot().
Referenced by main().
| void SummarizeScalabilityData | ( | std::ostream & | outStream, |
| const std::vector< struct pcrun > & | pcRuns, | ||
| const timerlist & | timerList, | ||
| const timersettings & | timerSettings | ||
| ) |
Definition at line 275 of file PerfPlot.H.
References timersettings::effMode, FormatName(), timersettings::gridMode, pctimervalue::max, pcruninfo::ngridpointstotal, pcruninfo::numproc, pcruninfo::numthreads, and timersettings::weakMode.
Referenced by main().
| void SummarizeTimingData | ( | std::ostream & | outStream, |
| const std::vector< struct pcrun > & | pcRuns, | ||
| const timerlist & | timerList, | ||
| const timersettings & | timerSettings | ||
| ) |
Definition at line 350 of file PerfPlot.H.
References FormatName(), timersettings::gridMode, pctimervalue::max, pctimervalue::mean, and pctimervalue::min.
Referenced by main().
| bool TimerIncluded | ( | const std::string & | routineName, |
| const timerlist & | timerList | ||
| ) |
Definition at line 382 of file PerfPlot.H.
Referenced by GetDerivedTimerNames(), and ProcessRun().