Direct Graphical Models  v.1.5.2
DirectGraphicalModels::Timer Namespace Reference

Timer More...

Functions

void start (const std::string &str)
 Starts the timer. More...
 
void stop (void)
 Stops the timer. More...
 

Detailed Description

Function Documentation

◆ start()

void DirectGraphicalModels::Timer::start ( const std::string &  str)

Starts the timer.

Parameters
strCustom string to be printed when the timer has started

Definition at line 22 of file timer.h.

◆ stop()

void DirectGraphicalModels::Timer::stop ( void  )

Stops the timer.

This function prints out the time in milliseconds passed between start() and stop()

Definition at line 32 of file timer.h.