std::clock_t
From cppreference.com
C++
Utilities library
Type support (basic types, RTTI, type traits) | |||||||||||||||||||||
Dynamic memory management | |||||||||||||||||||||
Error handling | |||||||||||||||||||||
Program utilities | |||||||||||||||||||||
Variadic functions | |||||||||||||||||||||
Library feature-test macros | |||||||||||||||||||||
Date and time | |||||||||||||||||||||
Function objects | |||||||||||||||||||||
(C++11) | |||||||||||||||||||||
(C++11) | |||||||||||||||||||||
(C++14) | |||||||||||||||||||||
Relational operators (deprecated in C++20) | |||||||||||||||||||||
Comparisons (C++20) | |||||||||||||||||||||
Common vocabulary types | |||||||||||||||||||||
| |||||||||||||||||||||
Swap, forward and move | |||||||||||||||||||||
(C++14) | |||||||||||||||||||||
(C++11) | |||||||||||||||||||||
(C++11) | |||||||||||||||||||||
(C++11) | |||||||||||||||||||||
Elementary string conversions | |||||||||||||||||||||
(C++17) | |||||||||||||||||||||
(C++17) | |||||||||||||||||||||
(C++17) | |||||||||||||||||||||
Type operations | |||||||||||||||||||||
(C++11) | |||||||||||||||||||||
(C++17) | |||||||||||||||||||||
(C++17) |
Date and time utilities
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Clocks | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Calendars | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Time zones | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
C-style date and time |
Defined in header <ctime>
|
||
typedef /* unspecified */ clock_t; |
||
Arithmetic type capable of representing the process running time of implementation-defined range and precision.
See also
returns raw processor clock time since the program is started (function) | |
number of processor clock ticks per second (macro constant) |