Creates (and starts) a new stopwatch using {@link System#nanoTime} as its time source. @since 15.0
()
| 126 | * @since 15.0 |
| 127 | */ |
| 128 | public static Stopwatch createStarted() { |
| 129 | return new Stopwatch().start(); |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * Creates (and starts) a new stopwatch, using the specified time source. |