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