| A benchmarking utility class. Basically encapsulates a name,
start time and end time.
Usually used like this:
OpTimer timer = new OpTimer("Some long operation");
...
// a lot of junk
...
timer.stop();
Syslog.debug(this, timer);
This class can be used in conjunction with the
OpTimerUtil OpTimerUtil class, which can
parse log files for timer traces and produce
aggregate timing information.
See Also: OpTimerUtil |