elapsedMs function

double elapsedMs(
  1. Stopwatch sw
)

Stopwatch elapsed time in milliseconds, keeping sub-millisecond fractions.

Implementation

double elapsedMs(Stopwatch sw) => sw.elapsedMicroseconds / 1000.0;