Namespaces
Variants
Views
Actions

CLOCKS_PER_SEC

From cppreference.com
< c‎ | chrono
Revision as of 09:20, 15 August 2013 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Defined in header <time.h>
#define CLOCKS_PER_SEC /*implementation defined*/

Expands to an expression (not necessarily a compile-time constant) of type 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 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