processTime            package:aroma.core            R Documentation

_G_e_t_s _t_h_e _r_u_n_n_i_n_g _t_i_m_e _o_f _t_h_e _R _p_r_o_c_e_s_s _a_n_d _i_t_s _c_h_i_l_d_r_e_n _p_r_o_c_e_s_s_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Gets the running time of the R process and its children processes.
     This function is a safe wrapper for 'proc.time'(), which might not
     exist on all platforms.  It "determines how much time (in seconds)
     the currently running R process already consumed".  In addition it
     adds descriptive names of the returned values. For more details,
     see 'proc.time'().

_U_s_a_g_e:

     ## Default S3 method:
     processTime(since=NULL, units=c("seconds", "milliseconds", "minutes", "hours", "days"), fmtstr=NULL, ...)

_A_r_g_u_m_e_n_t_s:

   since: An optional 'numeric' 'vector' to be subtracted from the
          value of 'proc.time'().  This is useful for calculating "lap
          times".

   units: A 'character' string specifying the unit of the returned
          values.

  fmtstr: If given, a format string to convert the times to strings via
          'sprintf'().

     ...: Not used.

_V_a_l_u_e:

     Returns a named 'numeric' 'vector' of length 5. For more details,
     see 'proc.time'().

_A_u_t_h_o_r(_s):

     Henrik Bengtsson (<URL: http://www.braju.com/R/>)

_S_e_e _A_l_s_o:

     'proc.time'(). 'system.time'(). 'gc.time'().

