![]()  | 
  
    SG++-Doxygen-Documentation
    
   | 
 
OS-independent version of a stop watch (using std::chrono). More...
#include <SGppStopwatch.hpp>
Public Member Functions | |
| SGppStopwatch () | |
| Constructor.  More... | |
| void | start () | 
| Starts the stop watch.  More... | |
| double | stop () | 
| Stops the stop watch.  More... | |
| ~SGppStopwatch () | |
| Destructor.  More... | |
Protected Attributes | |
| std::chrono::time_point< std::chrono::high_resolution_clock > | start_time | 
OS-independent version of a stop watch (using std::chrono).
Part of SGpp, so you can easily calculate the needed time of SGpp computations with a high precision
| sgpp::base::SGppStopwatch::SGppStopwatch | ( | ) | 
Constructor.
Resets the stop watch.
| sgpp::base::SGppStopwatch::~SGppStopwatch | ( | ) | 
Destructor.
| void sgpp::base::SGppStopwatch::start | ( | ) | 
Starts the stop watch.
References start_time.
Referenced by sgpp::datadriven::SystemMatrixLeastSquaresIdentity::generateb(), sgpp::datadriven::OperationMultiEvalHPX::mult(), sgpp::datadriven::OperationMultiEvalStreaming::mult(), sgpp::datadriven::OperationMultiEvalModMaskStreaming::mult(), sgpp::datadriven::OperationMultiEvalCuda::mult(), sgpp::datadriven::SystemMatrixLeastSquaresIdentity::mult(), sgpp::datadriven::AbstractOperationMultipleEvalSubspace::mult(), sgpp::datadriven::OperationMultiEvalStreamingBSplineOCL< T >::mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >::mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >::mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLMaskMultiPlatform< T >::mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLOpt< T >::mult(), sgpp::datadriven::StreamingOCLMultiPlatform::OperationMultiEvalStreamingOCLMultiPlatform< T >::mult(), sgpp::datadriven::AbstractOperationMultipleEvalSubspace::multTranspose(), sgpp::datadriven::OperationMultiEvalHPX::multTranspose(), sgpp::datadriven::OperationMultiEvalStreaming::multTranspose(), sgpp::datadriven::OperationMultiEvalModMaskStreaming::multTranspose(), sgpp::datadriven::OperationMultiEvalCuda::multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingBSplineOCL< T >::multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >::multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >::multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLOpt< T >::multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLMaskMultiPlatform< T >::multTranspose(), sgpp::datadriven::StreamingOCLMultiPlatform::OperationMultiEvalStreamingOCLMultiPlatform< T >::multTranspose(), sgpp::datadriven::OperationMultiEvalCuda::multTransposeFMA(), sgpp::pde::HeatEquationSolver::solveCrankNicolson(), sgpp::pde::HeatEquationSolverWithStretching::solveCrankNicolson(), sgpp::pde::HeatEquationSolver::solveExplicitEuler(), sgpp::pde::HeatEquationSolverWithStretching::solveExplicitEuler(), sgpp::pde::HeatEquationSolver::solveImplicitEuler(), sgpp::pde::HeatEquationSolverWithStretching::solveImplicitEuler(), sgpp::pde::PoissonEquationSolver::solvePDE(), sgpp::pde::HeatEquationSolver::storeInnerRHS(), sgpp::pde::PoissonEquationSolver::storeInnerRHS(), sgpp::pde::HeatEquationSolver::storeInnerSolution(), sgpp::datadriven::LearnerLeastSquaresIdentity::testRegular(), sgpp::datadriven::LearnerBaseSP::train(), and sgpp::datadriven::LearnerBase::train().
| double sgpp::base::SGppStopwatch::stop | ( | ) | 
Stops the stop watch.
References start_time.
Referenced by sgpp::datadriven::SystemMatrixLeastSquaresIdentity::generateb(), sgpp::datadriven::OperationMultiEvalHPX::mult(), sgpp::datadriven::OperationMultiEvalStreaming::mult(), sgpp::datadriven::OperationMultiEvalModMaskStreaming::mult(), sgpp::datadriven::OperationMultiEvalCuda::mult(), sgpp::datadriven::SystemMatrixLeastSquaresIdentity::mult(), sgpp::datadriven::AbstractOperationMultipleEvalSubspace::mult(), sgpp::datadriven::OperationMultiEvalStreamingBSplineOCL< T >::mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >::mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >::mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLMaskMultiPlatform< T >::mult(), sgpp::datadriven::OperationMultiEvalStreamingModOCLOpt< T >::mult(), sgpp::datadriven::StreamingOCLMultiPlatform::OperationMultiEvalStreamingOCLMultiPlatform< T >::mult(), sgpp::datadriven::AbstractOperationMultipleEvalSubspace::multTranspose(), sgpp::datadriven::OperationMultiEvalHPX::multTranspose(), sgpp::datadriven::OperationMultiEvalStreaming::multTranspose(), sgpp::datadriven::OperationMultiEvalModMaskStreaming::multTranspose(), sgpp::datadriven::OperationMultiEvalCuda::multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingBSplineOCL< T >::multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >::multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >::multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLOpt< T >::multTranspose(), sgpp::datadriven::OperationMultiEvalStreamingModOCLMaskMultiPlatform< T >::multTranspose(), sgpp::datadriven::StreamingOCLMultiPlatform::OperationMultiEvalStreamingOCLMultiPlatform< T >::multTranspose(), sgpp::datadriven::OperationMultiEvalCuda::multTransposeFMA(), sgpp::optimization::Printer::printStatusEnd(), sgpp::pde::HeatEquationSolver::solveCrankNicolson(), sgpp::pde::HeatEquationSolverWithStretching::solveCrankNicolson(), sgpp::pde::HeatEquationSolver::solveExplicitEuler(), sgpp::pde::HeatEquationSolverWithStretching::solveExplicitEuler(), sgpp::pde::HeatEquationSolver::solveImplicitEuler(), sgpp::pde::HeatEquationSolverWithStretching::solveImplicitEuler(), sgpp::pde::PoissonEquationSolver::solvePDE(), sgpp::pde::HeatEquationSolver::storeInnerRHS(), sgpp::pde::PoissonEquationSolver::storeInnerRHS(), sgpp::datadriven::LearnerLeastSquaresIdentity::testRegular(), sgpp::datadriven::LearnerBaseSP::train(), and sgpp::datadriven::LearnerBase::train().
      
  | 
  protected |