mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
profiler: add transport state in the profile block
Add transport state to the profiler clock info and show this in pw-top as t and T states. Update the docs some more.
This commit is contained in:
parent
94d19f2673
commit
ccf899a709
4 changed files with 24 additions and 10 deletions
|
|
@ -199,8 +199,8 @@ static void context_do_profile(void *data)
|
|||
SPA_POD_Long(pos->clock.duration),
|
||||
SPA_POD_Long(pos->clock.delay),
|
||||
SPA_POD_Double(pos->clock.rate_diff),
|
||||
SPA_POD_Long(pos->clock.next_nsec));
|
||||
|
||||
SPA_POD_Long(pos->clock.next_nsec),
|
||||
SPA_POD_Int(pos->state));
|
||||
|
||||
spa_pod_builder_prop(&b, SPA_PROFILER_driverBlock, 0);
|
||||
spa_pod_builder_add_struct(&b,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue