= private = protected
realtime()
Returns the elapsed real time used to execute the given block.
# File lib/benchmark.rb, line 306 def realtime # :yield: r0 = Process.clock_gettime(Process::CLOCK_MONOTONIC) yield Process.clock_gettime(Process::CLOCK_MONOTONIC) - r0 end