Namespaces
Variants
Views
Actions

CLOCKS_PER_SEC

From natekohl.net
< cpp‎ | chrono‎ | c
 
 
 
Date and time utilities
(C++11)
(C++11)
Clocks
(C++20)
                                                  
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Calendars
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Time zones
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
C-style date and time
 
C-style date and time utilities
Functions
Time manipulation
Format conversions
Constants
CLOCKS_PER_SEC
Types
(C++17)
 
Defined in header <ctime>
#define CLOCKS_PER_SEC /*implementation defined*/

Expands to an expression (not necessarily a compile-time constant) of type std::clock_t equal to the number of clock ticks per second, as returned by std::clock().

[edit] Notes

POSIX defines CLOCKS_PER_SEC as one million, regardless of the actual precision of std::clock().

[edit] See also

returns raw processor clock time since the program is started
(function) [edit]
process running time
(typedef) [edit]
C documentation for CLOCKS_PER_SEC