Creates (and starts) a new stopwatch using System#nanoTime as its time source. @since 15.0
()
| 105 | |
| 106 | |
| 107 | public static Stopwatch createStarted() { |
| 108 | return new Stopwatch().start(); |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Creates (and starts) a new stopwatch, using the specified time source. |
no test coverage detected