The profiler now measures the time of each event in a event class