clock 函数 (C)clock Function (C)

ANSI clock 函数的纪元ANSI The era for the clock function

当 C 程序开始执行时,clock 函数的纪元将以值 0 开始。The clock function's era begins (with a value of 0) when the C program starts to execute. 它返回以 1/CLOCKS_PER_SEC(对于 Microsoft C 等于 1/1000)度量的时间。It returns times measured in 1/CLOCKS_PER_SEC (which equals 1/1000 for Microsoft C).

请参阅See Also

库函数Library Functions