# File lib/logging/stats.rb, line 208 def time( event ) sync {stats[event].mark} yield ensure sync {stats[event].tick} end