HOG2
|
#include <Timer.h>
Public Member Functions | |
Timer () | |
void | StartTimer () |
double | EndTimer () |
double | GetElapsedTime () |
Private Attributes | |
std::chrono::high_resolution_clock::time_point | startTime |
double | elapsedTime |
Timer::Timer | ( | ) |
Definition at line 3 of file Timer.cpp.
References elapsedTime.
double Timer::EndTimer | ( | ) |
Definition at line 15 of file Timer.cpp.
References elapsedTime, and startTime.
Referenced by PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::BuildAdditivePDB(), PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::BuildPDB(), PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::BuildPDBBackward(), PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::BuildPDBForward(), PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::BuildPDBForwardBackward(), DALRTA::daLRTAStar< state, action, environment >::GetPath(), LSSLRTAStar< state, action, environment >::GetPath(), gLSSLRTAStar< state, action, environment >::GetPath(), MyPathfindingKeyHandler(), and UnitSimulation< state, action, environment >::StepUnitTime().
double Timer::GetElapsedTime | ( | ) |
Definition at line 25 of file Timer.cpp.
References elapsedTime.
Referenced by MyPathfindingKeyHandler().
void Timer::StartTimer | ( | ) |
Definition at line 9 of file Timer.cpp.
References startTime.
Referenced by PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::BuildAdditivePDB(), PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::BuildPDB(), PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::BuildPDBBackward(), PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::BuildPDBForward(), PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::BuildPDBForwardBackward(), DALRTA::daLRTAStar< state, action, environment >::GetPath(), LSSLRTAStar< state, action, environment >::GetPath(), gLSSLRTAStar< state, action, environment >::GetPath(), MyPathfindingKeyHandler(), and UnitSimulation< state, action, environment >::StepUnitTime().
|
private |
Definition at line 28 of file Timer.h.
Referenced by EndTimer(), GetElapsedTime(), and Timer().
|
private |
Definition at line 27 of file Timer.h.
Referenced by EndTimer(), and StartTimer().