codahale/metrics — pull request #451 by gsoto (2013-08-12 20:54:13+00:00)
Title: Ability to get the elapsed time of a Timer.Context without stopping it.

A typical use case: a timed task hangs and the timer context never gets stopped, taking up resources forever. We need a way to know for how long the context has run to be able to detect the hanging and act accordingly (stop or drop the context, etc.).
Another option would be making the fields in Context public. This would provide even more control, but I didn't want to alter the design that much.