Compute durations in milliseconds?

Help
S. Rigaud
2008-01-27
2012-12-29
  • S. Rigaud
    S. Rigaud
    2008-01-27

    Hi,
    I found no way of computing durations down to a precision
    of milliseconds with GT.M: is it possible ?

    In advance, thanks.
    Regards,
    Sébastien

     
    • K.S. Bhaskar
      K.S. Bhaskar
      2008-01-27

      Probably best accomplished with a call to gettimeofday() via GT.M's interface to call C functions.  But please don't call the OS directly if you want to set a timeout.

      Regards
      -- Bhaskar