From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/c/chrono%2Fclocks_per_sec.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 devdocs/c/chrono%2Fclocks_per_sec.html (limited to 'devdocs/c/chrono%2Fclocks_per_sec.html') diff --git a/devdocs/c/chrono%2Fclocks_per_sec.html b/devdocs/c/chrono%2Fclocks_per_sec.html new file mode 100644 index 00000000..a162b3ea --- /dev/null +++ b/devdocs/c/chrono%2Fclocks_per_sec.html @@ -0,0 +1,24 @@ +

CLOCKS_PER_SEC

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().

+

Notes

POSIX defines CLOCKS_PER_SEC as one million, regardless of the actual precision of clock.

+

Until standardized as CLOCKS_PER_SEC in C89, this macro was sometimes known by its IEEE std 1003.1-1988 name CLK_TCK: that name was not included in C89 and was removed from POSIX itself in 1996 over ambiguity with _SC_CLK_TCK, which gives number of clocks per second for the function times()).

+

References

See also

+ + +
returns raw processor clock time since the program is started
(function)
processor time since era type
(typedef)
C++ documentation for CLOCKS_PER_SEC
+

+ © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
+ https://en.cppreference.com/w/c/chrono/CLOCKS_PER_SEC +

+
-- cgit v1.2.3