CLOCKS_PER_SEC

CLOCKS_PER_SEC

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

Notes

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

See also

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

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部