Visual Servoing Platform  version 3.2.1 under development (2019-08-19)
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

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

Definition at line 90 of file vpTime.h.

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, 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, and testTime.cpp.

Definition at line 409 of file vpTime.cpp.

References vpTime::measureTimeMs().

◆ stop()

void vpChrono::stop ( )

Stop the chrono.

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

Definition at line 424 of file vpTime.cpp.

References vpTime::measureTimeMs().