[Haskell-cafe] how to get live info on thread scheduling?

Johannes Waldmann johannes.waldmann at htwk-leipzig.de
Sat Jul 25 18:17:04 UTC 2020


Dear Cafe,

With Control.Concurrent, I would want to know, for a ThreadId,
the total (up to now) (wallclock) time
it was running/paused by the RTS scheduler.

I guess that the scheduler's actions can be written to the eventlog
for later analysis. Can I access them from inside a running program?

I guess this is
https://gitlab.haskell.org/ghc/ghc/-/wikis/event-log/live-monitoring ,
what is the status?

- J.


More information about the Haskell-Cafe mailing list