wolfpld/tracy

Visualize the fiber currently schedule on a thread

Open

#398 opened on May 26, 2022

View on GitHub
 (6 comments) (2 reactions) (0 assignees)C++ (6,366 stars) (474 forks)batch import
enhancementhelp wanted

Description

When using a lot of fibers you get a lot of fiber swimlane displayed at the same time and it become hard to have a global understanding of when fiber are scheduled compared to each other.

I wish to be able to see which fiber is scheduled when on a particular thread swimlane (especially to see sampled data associated with the corresponding fiber)

Ideally I would imagine something similar to context switch line on top of thread swimlane with the name of the current fiber and name of job it runs.

But in the meantime, is it possible to emulate this feature by instrumenting my app with a markup to make the name of the job appear in the thread swimlane "somehow" ?

Contributor guide