Boost logo

Boost Users :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2023-06-30 14:00:43


On Fri, Jun 30, 2023 at 6:58 AM Dmitry via Boost-users
<boost-users_at_[hidden]> wrote:
> I would like to have a metric that measures time spent for
> work (executing completion handlers) vs time spent waiting
> for work in thread pool executing io_context::run().

Maybe there are some ideas here?

https://github.com/XRPLF/rippled/blob/f18c6dfea7870132490124e1942901a6a0cddc7e/src/ripple/beast/asio/io_latency_probe.h#L34

Thanks


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net