Nektar++
|
#include <Timer.h>
Public Types | |
typedef timespec | CounterType |
Public Member Functions | |
Timer () | |
~Timer () | |
void | Start () |
void | Stop () |
CounterType | Elapsed () |
NekDouble | TimePerTest (unsigned int n) |
Returns amount of seconds per iteration in a test with n iterations. More... | |
Private Member Functions | |
Timer (const Timer &rhs) | |
Timer & | operator= (const Timer &rhs) |
Private Attributes | |
CounterType | m_start |
CounterType | m_end |
CounterType | m_resolution |
typedef timespec Nektar::Timer::CounterType |
|
private |
Timer::CounterType Nektar::Timer::Elapsed | ( | ) |
Definition at line 73 of file Timer.cpp.
References m_end, and m_start.
Referenced by TimePerTest().
void Nektar::Timer::Start | ( | ) |
Definition at line 51 of file Timer.cpp.
References m_start.
Referenced by Nektar::SolverUtils::DriverSteadyState::ConvergenceHistory(), Nektar::LibUtilities::AnalyticExpressionEvaluator::Evaluate(), Nektar::LibUtilities::AnalyticExpressionEvaluator::EvaluateAtPoint(), main(), Nektar::Utilities::InputXml::Process(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::CoupledLinearNS::SolveSteadyNavierStokes(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), Nektar::CoupledLinearNS::v_DoSolve(), and Nektar::SolverUtils::DriverSteadyState::v_Execute().
void Nektar::Timer::Stop | ( | ) |
Definition at line 62 of file Timer.cpp.
References m_end.
Referenced by Nektar::SolverUtils::DriverSteadyState::ConvergenceHistory(), Nektar::LibUtilities::AnalyticExpressionEvaluator::Evaluate(), Nektar::LibUtilities::AnalyticExpressionEvaluator::EvaluateAtPoint(), main(), Nektar::Utilities::InputXml::Process(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::CoupledLinearNS::SolveSteadyNavierStokes(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), and Nektar::CoupledLinearNS::v_DoSolve().
NekDouble Nektar::Timer::TimePerTest | ( | unsigned int | n | ) |
Returns amount of seconds per iteration in a test with n iterations.
Definition at line 108 of file Timer.cpp.
References Elapsed().
Referenced by Nektar::SolverUtils::DriverSteadyState::ConvergenceHistory(), Nektar::LibUtilities::AnalyticExpressionEvaluator::Evaluate(), Nektar::LibUtilities::AnalyticExpressionEvaluator::EvaluateAtPoint(), main(), Nektar::Utilities::InputXml::Process(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::CoupledLinearNS::SolveSteadyNavierStokes(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), and Nektar::CoupledLinearNS::v_DoSolve().
|
private |
|
private |
|
private |