Method: Heist::Runtime#elapsed_time

Defined in:
lib/heist/runtime/runtime.rb

#elapsed_timeObject

Returns the length of time the Runtime has been alive for, as a number in microseconds.



74
75
76
# File 'lib/heist/runtime/runtime.rb', line 74

def elapsed_time
  (Time.now.to_f - @start_time) * 1000000
end