Creates (and starts) a new stopwatch using System#nanoTime as its time source. @since 15.0
()
| 101 | |
| 102 | |
| 103 | public static Stopwatch createStarted() { |
| 104 | return new Stopwatch().start(); |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * Creates (and starts) a new stopwatch, using the specified time source. |