A high-performance stopwatch, with typical resolution of nanoseconds.
Definition at line 19 of file system/CTicTac.h.
#include <mrpt/system/CTicTac.h>
Public Member Functions | |
CTicTac () noexcept | |
Default constructor. More... | |
CTicTac (const CTicTac &)=delete | |
CTicTac & | operator= (const CTicTac &)=delete |
void | Tic () noexcept |
Starts the stopwatch. More... | |
double | Tac () noexcept |
Stops the stopwatch. More... | |
Private Attributes | |
unsigned long | largeInts [4] |
|
noexcept |
|
delete |
|
noexcept |
Stops the stopwatch.
Definition at line 90 of file CTicTac.cpp.
References AuxWindowsTicTac::dbl_period, AuxWindowsTicTac::GetInstance(), and LARGE_INTEGER_NUMS.
Referenced by mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::_optimizeGraph(), mrpt::slam::CGridMapAligner::AlignPDF_robustMatch(), mrpt::nav::CAbstractPTGBasedReactive::build_movement_candidate(), mrpt::vision::CFeatureExtraction::detectFeatures(), mrpt::system::CTimeLogger::do_enter(), mrpt::system::CTimeLogger::do_leave(), mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment(), mrpt::hwdrivers::CNTRIPEmitter::doProcess(), mrpt::vision::CFeatureExtraction::extractFeaturesKLT(), mrpt::nav::CRobot2NavInterface::getNavigationTime(), mrpt::hwdrivers::COpenNI2_RGBD360::getNextObservation(), mrpt::graphs::CAStarAlgorithm< CCoinDistribution >::getOptimalSolution(), mrpt::comms::net::http_request(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KF(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KF2(), mrpt::maps::CRandomFieldGridMap2D::internal_clear(), mrpt::nav::CPTG_DiffDrive_CollisionGridBased::internal_initialize(), mrpt::maps::CRandomFieldGridMap3D::internal_initialize(), mrpt::hwdrivers::CSickLaserSerial::LMS_waitACK(), mrpt::hwdrivers::CSickLaserSerial::LMS_waitIncomingFrame(), mrpt::hmtslam::CHMTSLAM::LSLAM_process_message_from_AA(), mrpt::hmtslam::CHMTSLAM::LSLAM_process_message_from_TBI(), mrpt::vision::CDifodo::odometryCalculation(), mrpt::graphslam::CWindowObserver::OnEvent(), mrpt::nav::CAbstractPTGBasedReactive::performNavigationStep(), mrpt::hmtslam::CLSLAM_RBPF_2DLASER::prediction_and_update_pfAuxiliaryPFOptimal(), mrpt::slam::CMetricMapBuilderICP::processObservation(), mrpt::comms::CSerialPort::Read(), mrpt::comms::CSerialPort::ReadString(), mrpt::gui::CGlCanvasBase::renderCanvas(), mrpt::maps::CGasConcentrationGridMap2D::simulateAdvection(), mrpt::system::CRateTimer::sleep(), mrpt::nav::PlannerRRT_SE2_TPS::solve(), mrpt::hmtslam::CHMTSLAM::thread_LSLAM(), mrpt::graphslam::CGraphSlamEngine< mrpt::graphs::CNetworkOfPoses2DInf >::updateMapVisualization(), mrpt::hwdrivers::CCANBusReader::waitACK(), mrpt::hwdrivers::CCANBusReader::waitForVersion(), and mrpt::hwdrivers::CCANBusReader::waitIncomingFrame().
|
noexcept |
Starts the stopwatch.
Definition at line 79 of file CTicTac.cpp.
References LARGE_INTEGER_NUMS.
Referenced by mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::_optimizeGraph(), mrpt::slam::CGridMapAligner::AlignPDF_robustMatch(), mrpt::nav::CAbstractPTGBasedReactive::build_movement_candidate(), CTicTac(), mrpt::system::CTimeLogger::CTimeLogger(), mrpt::vision::CFeatureExtraction::detectFeatures(), mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment(), mrpt::hwdrivers::CNTRIPEmitter::doProcess(), mrpt::vision::CFeatureExtraction::extractFeaturesKLT(), mrpt::hmtslam::CHMTSLAM::generateLogFiles(), mrpt::hwdrivers::COpenNI2_RGBD360::getNextObservation(), mrpt::graphs::CAStarAlgorithm< CCoinDistribution >::getOptimalSolution(), mrpt::comms::net::http_request(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KF(), mrpt::maps::CRandomFieldGridMap2D::insertObservation_KF2(), mrpt::maps::CRandomFieldGridMap2D::internal_clear(), mrpt::nav::CPTG_DiffDrive_CollisionGridBased::internal_initialize(), mrpt::maps::CRandomFieldGridMap3D::internal_initialize(), mrpt::hwdrivers::CSickLaserSerial::LMS_waitACK(), mrpt::hwdrivers::CSickLaserSerial::LMS_waitIncomingFrame(), mrpt::hmtslam::CHMTSLAM::LSLAM_process_message_from_AA(), mrpt::hmtslam::CHMTSLAM::LSLAM_process_message_from_TBI(), mrpt::vision::CDifodo::odometryCalculation(), mrpt::nav::CAbstractPTGBasedReactive::performNavigationStep(), mrpt::hmtslam::CLSLAM_RBPF_2DLASER::prediction_and_update_pfAuxiliaryPFOptimal(), mrpt::slam::CMetricMapBuilderICP::processObservation(), mrpt::comms::CSerialPort::Read(), mrpt::comms::CSerialPort::ReadString(), mrpt::gui::CGlCanvasBase::renderCanvas(), mrpt::nav::CRobot2NavInterface::resetNavigationTimer(), run_test_pf_localization(), mrpt::maps::CGasConcentrationGridMap2D::simulateAdvection(), mrpt::system::CRateTimer::sleep(), mrpt::nav::PlannerRRT_SE2_TPS::solve(), mrpt::hmtslam::CHMTSLAM::thread_LSLAM(), mrpt::graphslam::CGraphSlamEngine< mrpt::graphs::CNetworkOfPoses2DInf >::updateMapVisualization(), mrpt::hwdrivers::CCANBusReader::waitACK(), mrpt::hwdrivers::CCANBusReader::waitForVersion(), and mrpt::hwdrivers::CCANBusReader::waitIncomingFrame().
|
private |
Definition at line 33 of file system/CTicTac.h.
Referenced by CTicTac().
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |