New Issue: Should we remove the optional argument to '.elapsed()' in 'Timer'/'stopwatch'?

16396, “bradcray”, “Should we remove the optional argument to ‘.elapsed()’ in ‘Timer’/‘stopwatch’?”, “2020-09-15T20:48:51Z”

The current Timer type has an elapsed() method that takes an optional argument returning the units that the elapsed time should be reported in, defaulting to seconds. This issue asks whether that argument should be deprecated…

  • for simplicity in the interface and implementation
  • since another routine could always be used to convert from seconds to some other time unit
  • because we suspect it’s never used in practice in the field