I want to do interleaved timing with a single StopWatch instance.
Something like this:
this could be done with 2 instances of StopWatch at higher performance
with suspend/resume for each instance.
I would like to do it with single instance and if I had 1 of these changes,
- resume() could return elapsed-suspend-time
- new access methods to retrieve startNanoTime
Is there something I am missing?
Can this be done already?
Seems like a simple change.