RobWorkProject  23.9.11-
Public Member Functions | List of all members
timer Class Reference

A helper class to measure execution time for benchmarking purposes. More...

#include <BS_thread_pool.hpp>

Public Member Functions

void start ()
 Start (or restart) measuring time.
 
void stop ()
 Stop measuring time and store the elapsed time since start().
 
std::chrono::milliseconds::rep ms () const
 Get the number of milliseconds that have elapsed between start() and stop(). More...
 

Detailed Description

A helper class to measure execution time for benchmarking purposes.

Member Function Documentation

◆ ms()

std::chrono::milliseconds::rep ms ( ) const
inline

Get the number of milliseconds that have elapsed between start() and stop().

Returns
The number of milliseconds.

The documentation for this class was generated from the following file: