|
barretenberg
|
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. | |
Get the execution between a block of code.
|
inline |
Initialize a Timer with the current time.