barretenberg
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Timer Class Reference

Get the execution between a block of code. More...

#include <timer.hpp>

Public Member Functions

 Timer ()
 Initialize a Timer with the current time.
 
int64_t nanoseconds () const
 Return the number of nanoseconds elapsed since the start of the timer.
 
int64_t milliseconds () const
 Return the number of nanoseconds elapsed since the start of the timer.
 
double seconds () const
 Return the number of seconds elapsed since the start of the timer.
 
std::string toString () const
 Return the number of seconds elapsed since the start of the timer as a string.
 

Detailed Description

Get the execution between a block of code.

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( )
inline

Initialize a Timer with the current time.


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