Created attachment 8761654[details][diff][review]
v1
- we accumulate at the moment we dequeue a runnable on the IO thread, we do so separately for each level
- there are 10 buckets for each IO thread level with 30 as a granularity
- when there are e.g. 65 pending runnables at the moment we dequeue, we accumulate bucket #2 (60) and remember to only report (accumulate) when the queue length is more then 90 (60 + 30) next time
- everything over 300 is reported in the last bucket
- some types clean up