CLOCKS_PER_SEC、CLK_TCKCLOCKS_PER_SEC, CLK_TCK

语法Syntax


#include <time.h>  

备注Remarks

时间(以秒为单位)是由 clock 函数返回的值除以 CLOCKS_PER_SEC 所得的值。The time in seconds is the value returned by the clock function, divided by CLOCKS_PER_SEC. CLK_TCK 是等效的,但被视为已过时。CLK_TCK is equivalent, but considered obsolete.

另请参阅See Also

clock clock
全局常量Global Constants