-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Christofer Bogaso
Sent: Thursday, July 29, 2010 7:51 AM
To: jim holtman
Cc: r-h...@stat.math.ethz.ch
Subject: Re: [R] Meaning of proc.time()
Ok, but what are user CPU
Ok, but what are user CPU and system CPU? If I know corrrectly, I
only have a single CPU in my system. It is not a multi-corer system.
Should I read that, system CPU time is the time that my CPU took for
actual calculation, and the user CPU time is the time that my CPU took
to analyze my code that
If I run proc.time() function, I would get following:
proc.time()
user system elapsed
2.82 4.18 792.39
However I am struggling the meaning of the object what it returned. In
help file it says that:
user time is the time required to execute the calling process. Here
what is the
This is reporting on the accumulated values of the user CPU, system
CPU and elapsed time. The 'user + system' values indicate how much
CPU has been used to process whatever has occurred in the R session so
far. To get the time to execute a statement, or block of code, you
can use 'system.time'
4 matches
Mail list logo