Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
I was migrating code which used Guava Stopwatch to using org.apache.commons.lang.time.StopWatch
double throughputCells = (double)numCells / scanTimer.elapsedTime(TimeUnit.SECONDS);
I had to do conversion after calling getTime().
StopWatch should provide getTime() which accepts TimeUnit.
Attachments
Issue Links
- links to