object Stopwatch
- Companion
- class
class Object
trait Matchable
class Any
Value members
Concrete methods
Returns a string representation of the current elapsed time, choosing an appropriate unit and using the specified number of significant figures. For example, at the instant when <code>elapsedTime(NANOSECONDS)</code> would return {1234567}, <code>toString(4)</code> returns <code>"1.235 ms"</code>.
Returns a string representation of the current elapsed time, choosing an appropriate unit and using the specified number of significant figures. For example, at the instant when <code>elapsedTime(NANOSECONDS)</code> would return {1234567}, <code>toString(4)</code> returns <code>"1.235 ms"</code>.