xHarbour Reference Documentation > Function Reference |
Returns the CPU time used by the current process.
SecondsCpu( [<nWhichTime>] ) --> nSeconds
Values for <nWhichTime>
Value | Description |
---|---|
1 | User CPU time of the current process |
2 | System CPU time on behalf of the current process |
3 | Sum of 1 and 2 (default) |
11 | Sum of the user CPU time of the current + child process |
12 | Sum of the system CPU time of the current + child process |
13 | Sum of 11 and 12 |
The function returns the requested usage time in seconds as a numeric value.
See also: | HB_Clocks2Secs(), ElapTime(), Seconds() |
Category: | Date and time , xHarbour extensions |
Source: | rtl\seconds.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com