spring-framework / org.springframework.util / StopWatch / start

start

open fun start(): Unit

Start an unnamed task. The results are undefined if #stop() or timing methods are called without invoking this method.

See Also
#stop()

open fun start(taskName: String): Unit

Start a named task. The results are undefined if #stop() or timing methods are called without invoking this method.

Parameters

taskName - the name of the task to start

See Also
#stop()