public static Stopwatch createStarted ( VoidCallable callable ) { Stopwatch stopwatch = new Stopwatch ( ) ; stopwatch . callable = callable ; stopwatch . start ( ) ; return stopwatch ; }
Creates Stopwatch around passed callable and invokes callable .