jonhoo / tracing-timing

Inter-event timing metrics on top of tracing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically refresh histograms

jonhoo opened this issue · comments

The requirement to call refresh(), and the fact that refresh() blocks until every thread that has recorded an event in the past records another event is a problem. We should mitigate this by having the library call refresh_timeout() regularly during operation so that the user doesn't have to do it. Alternatively, hdrhistogram's Recorder would have to be change to not require the whole refresh business in the first place..