gc.time | R Documentation |
This function reports the time spent in garbage collection so far in the R session while GC timing was enabled.
gc.time(on = TRUE)
on |
logical; if |
Due to timer resolution this may be under-estimate.
This is a primitive.
A numerical vector of length 5 giving the user CPU time, the system CPU time, the elapsed time and children's user and system CPU times (normally both zero), of time spent doing garbage collection whilst GC timing was enabled.
Times of child processes are not available on Windows and will always
be given as NA
.
gc
,
proc.time
for the timings for the session.
gc.time()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.