Visual Servoing Platform  version 3.2.1 under development (2019-10-17) under development (2019-10-17)
vpChrono Class Reference

#include <visp3/core/vpTime.h>

Public Member Functions

 vpChrono ()
 
double getDurationMicros ()
 
double getDurationMs ()
 
double getDurationSeconds ()
 
void start (bool reset=true)
 
void stop ()
 

Detailed Description

Constructor & Destructor Documentation

◆ vpChrono()

vpChrono::vpChrono ( )

Definition at line 377 of file vpTime.cpp.

Member Function Documentation

◆ getDurationMicros()

double vpChrono::getDurationMicros ( )

Get chrono duration in microsecond.

Definition at line 384 of file vpTime.cpp.

◆ getDurationMs()

double vpChrono::getDurationMs ( )

Get chrono duration in millisecond.

Examples:
testConversion.cpp, testImageBinarise.cpp, testRealSense2_D435_opencv.cpp, testRealSense2_D435_pcl.cpp, and testTime.cpp.

Definition at line 392 of file vpTime.cpp.

◆ getDurationSeconds()

double vpChrono::getDurationSeconds ( )

Get chrono duration in second.

Definition at line 400 of file vpTime.cpp.

◆ start()

void vpChrono::start ( bool  reset = true)

Start the chrono.

Parameters
[in]reset: If true, reset the current chrono duration.
Examples:
testConversion.cpp, testImageBinarise.cpp, testRealSense2_D435_opencv.cpp, testRealSense2_D435_pcl.cpp, and testTime.cpp.

Definition at line 409 of file vpTime.cpp.

References vpTime::measureTimeMs().

◆ stop()

void vpChrono::stop ( )