class Tryouts::Stats

def tick


t.dump("time")
10000.times { do_stuff(); t.tick }
t = Stats.new("do_stuff")

An example is:

will give you the average time between two activities.
Adds a time delta between now and the last time you called this. This
def tick
  now = Time.now
  sample(now - @last_time)
  @last_time = now
end