Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Issue with "Elapsed time" in system.time function of R

$
0
0

@Rishabh0709 wrote:

Hi All,
In order to check the amount of time my code chuck took to finish execution , i use system.time function available in R.

The output of system.time for my code chuck is

user system elapsed
0.55 2.75 72.85

As per R documentation ,

"The values presented (user, system, and elapsed) will be defined by your operating system, but generally, the user time relates to the execution of the code, the system time relates to your CPU, and the elapsed time is the difference in times since you started the stopwatch (and will be equal to the sum of user and system times if the chunk of code was run altogether)."

But, i am unable to understand , why my code is taking 72 sec as Elapsed time.
Please help.
Thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles