📄 cputime.cwputils
字号:
CPUTIME - return cpu time (UNIX user time) in seconds using ANSI C built-inscputime return cpu time (UNIX user time) in seconds using ANSI C built-insInput:Returned: cpu time in secondsFunction Prototype:float cputime (void);NOTES:Relies on CLK_TCK being defined in time.h per ANSI C.See also: cpusec() in this library. There is some variability inthe definition that should be used for CLOCK_UNIT.On Solaris, use the folowing #ifdef ... #endif block:if (_IBMR2||__hp9000s800)define CLOCK_UNIT 1000000elsedefine CLOCK_UNIT CLK_TCKendifAuthor: Jack K. Cohen, Colorado School of Mines, 07/27/90
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -