delayt                package:cwhtool                R Documentation

_W_a_i_t_i_n_g _l_o_o_p _f_o_r _p_r_o_g_r_a_m _e_x_e_c_u_t_i_o_n

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

     Wait for approximately 'sec' seconds during program execution

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

       delayt(sec) # wait for sec seconds
       nrof <- delayt(sec) # save the number of internal calls of Sys.time(). Can be used to compare the relative execution speed of different processors.

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

     sec: Number of seconds to wait

_D_e_t_a_i_l_s:

     calls Sys.time()

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

     the number of internal calls of Sys.time()

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

     Christian W. Hoffmann, christian.hoffmann@wsl.ch, <URL:
     http://www.wsl.ch/staff/christian.hoffmann>

_E_x_a_m_p_l_e_s:

       Sys.time(); nrof <- delayt(5); Sys.time()
       print(nrof) # 2620 on my machine

