module Cucumber::Core::Test::Timer::MonotonicTime

def time_in_nanoseconds

def time_in_nanoseconds
  Process.clock_gettime(Process::CLOCK_MONOTONIC, :nanosecond)
end

def time_in_nanoseconds

def time_in_nanoseconds
  java.lang.System.nanoTime()
end

def time_in_nanoseconds

def time_in_nanoseconds
  t = Time.now
  t.to_i * 10 ** 9 + t.nsec
end