pass::stopwatch Class Reference
#include <stopwatch.hpp>
Public Member Functions | |
void | start () noexcept |
std::chrono::nanoseconds | get_elapsed () const noexcept |
Private Attributes | |
std::chrono::steady_clock::time_point | start_time |
Detailed Description
A stopwatch measures the time since its creation.
Member Function Documentation
◆ get_elapsed()
|
noexcept |
The time in nanoseconds (10^-9) since this object was created.
Here is the caller graph for this function:
◆ start()
|
noexcept |
Creat time of the object and start it.
Here is the caller graph for this function:
Member Data Documentation
◆ start_time
|
private |
The documentation for this class was generated from the following files:
- /Users/romeo/Desktop/PASS/include/pass_bits/helper/stopwatch.hpp
- /Users/romeo/Desktop/PASS/src/helper/stopwatch.cpp