Lock
based.StopWatch.elapsedTime()
method.StopWatch.reset()
) and a call to
StopWatch.lap()
.ThreadLocal
based stop watch is safe to use with multiple threads as it will time each thread's call
between ThreadLocalTimer.reset()
(or construction) and ThreadLocalTimer.lap()
.Duration
up to a specified amount.Copyright © 2009–2019 tempus-fugit committers. All rights reserved.