Method: AppMap::HookLog#end_time
- Defined in:
- lib/appmap/hook_log.rb
#end_time(timer) ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/appmap/hook_log.rb', line 25 def end_time(timer) unless @elapsed[timer].last.is_a?(Array) warn "AppMap: Unbalanced timing data in hook log" @elapsed[timer].pop return end @elapsed[timer][-1] = Util.gettime - @elapsed[timer].last[0] end |