CLOCKS_PER_SEC
From Cppreference
| C++ Standard Library | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Utilities library | ||||||||||||||||||||||||||||||||||||||||
| Date and time utilities | ||||||||||||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||||||||||||
| C-style date and time utilities | ||||||||||||||||||||||||||||||||||||||||
| 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 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) | |
| process running time (typedef) | |