Simple class to measure process time in Ruby.