TimeLogger
The TimeLogger
class is designed to measure the duration of a process for benchmarking purposes. It takes a processName
as a parameter to identify the process being timed.
Usage:
Call
start()
to begin tracking the time for a process.Call
finish()
to log the time taken sincestart()
was invoked.