= private = protected
realtime()
Returns the elapsed real time used to execute the given block.
# File lib/benchmark.rb, line 307 def realtime(&blk) # :yield: r0 = Time.now yield r1 = Time.now r1.to_f - r0.to_f end