Showing content from https://cplusplus.com/high_resolution_clock below:
class
<chrono>
std::chrono::high_resolution_clock
class high_resolution_clock;
High resolution clock
The members of clock classes provide access to the current time_point.
high_resolution_clock is the clock with the shortest tick period. It may be a synonym for system_clock or steady_clock.
Clock properties
-
highest precision
-
It is the clock type with the highest precision.
Member types The following aliases are member types of high_resolution_clock:
member type definition notes rep An arithmetic type (or a class that emulates it) Used to store a count of periods. period A ratio type Represents the length of a period in seconds. duration duration<rep,period> The clock's duration type. time_point time_point<high_resolution_clock> The clock's time_point type.
Member constants member constant definition is_steady a bool value specifying whether the clock always advances, and whether it does at a steady state relative to physical time.
Static member functions
-
now
-
Get current time (public static member function)
See also
-
system_clock
-
System clock (class)
-
steady_clock
-
Steady clock (class)
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4