time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (567B)


      1 
      2 {{alias}}( time )
      3     Returns a high-resolution time difference, where `time` is a two-element
      4     array with format `[seconds, nanoseconds]`.
      5 
      6     Similar to `time`, the returned array has format `[seconds, nanoseconds]`.
      7 
      8     Parameters
      9     ----------
     10     time: Array<integer>
     11         High-resolution time.
     12 
     13     Returns
     14     -------
     15     out: Array<integer>
     16         High resolution time difference.
     17 
     18     Examples
     19     --------
     20     > var start = {{alias:@stdlib/time/tic}}();
     21     > var delta = {{alias}}( start )
     22     [ <number>, <number> ]
     23 
     24     See Also
     25     --------
     26