Skip to content
Prev 12490 / 398502 Next

system.time

On Mon, 23 Jul 2001, Agustin Lobo wrote:

            
These are reported by your (presumably Unix?) system.  Most likely both
times are spent by the R process, the `user' time in the user code space,
and the `system' time in kernel calls.

Look up the times system call on your system for the exact details.
For example, Solaris says

     The tms_utime member is the CPU time  used  while  executing
     instructions in the user space of the calling process.

     The tms_stime member is the CPU time used by the  system  on
     behalf of the calling process.

On Unix-alikes, system.time calls proc.time whose C code calls times.