CLOCKS_PER_SEC
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <ctime>
|
||
| #define CLOCKS_PER_SEC /*implementation defined*/ |
||
扩展的表达式类型(不一定是一个编译时常量)std::clock_t等于每秒滴答的时钟,返回的
clock()的数量. Original:
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(). The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 注释
POSIX定义了一百万,无论
CLOCKS_PER_SEC的实际精度std::clock.Original:
POSIX defines
CLOCKS_PER_SEC as one million, regardless of the actual precision of std::clock.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 另请参阅
| 自启动程序时,返回原始的处理器时钟时间 Original: returns raw processor clock time since the program is started The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 处理的运行时间 Original: process running time The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (的typedef) | |
| C documentation for CLOCKS_PER_SEC
| |