[][src]Module tarantool_module::clock

The clock module returns time values derived from the Posix / C CLOCK_GETTIME function or equivalent.

Most functions in the module return a number of seconds; functions whose names end in “64” return a 64-bit number of nanoseconds.

  • time() - Get the wall clock time in seconds
  • time64() - Get the wall clock time in nanoseconds
  • monotonic() - Get the monotonic time in seconds
  • monotonic64() - Get the monotonic time in nanoseconds
  • proc() - Get the processor time in seconds
  • proc64() - Get the processor time in nanoseconds
  • thread() - Get the thread time in seconds
  • thread64() - Get the thread time in nanoseconds

See also:

Functions

monotonic

The monotonic time.

monotonic64

See: monotonic()

process

The processor time.

process64

See: process()

thread

The thread time.

thread64

See: thread()

time

The wall clock time.

time64

See: time()