StopWatch

StopWatch

Construct a new stop watch with the given id.
Does not start any task.

Parameters:

id - identifier for this stop watch.
Handy when we have output from multiple stop watches
and need to distinguish between them.

Method Detail

setKeepTaskList

public void setKeepTaskList(boolean keepTaskList)

Determine whether the TaskInfo array is built over time. Set this to
"false" when using a StopWatch for millions of intervals, or the task
info structure will consume excessive memory. Default is "true".