gc.time                 package:base                 R Documentation

_R_e_p_o_r_t _T_i_m_e _S_p_e_n_t _i_n _G_a_r_b_a_g_e _C_o_l_l_e_c_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     This function reports the time spent in garbage collection so far
     in the R session while GC timing was enabled..

_U_s_a_g_e:

     gc.time(on = TRUE)

_A_r_g_u_m_e_n_t_s:

      on: logical; if 'TRUE', GC timing is enabled.

_V_a_l_u_e:

     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).

_W_a_r_n_i_n_g_s:

     This is experimental functionality, likely to be removed as soon
     as the next release.

     The timings are rounded up by the sampling interval for timing
     processes, and so are likely to be over-estimates.

_S_e_e _A_l_s_o:

     'gc', 'proc.time' for the timings for the session.

_E_x_a_m_p_l_e_s:

     gc.time()

