profiler: add xrun_count and latency to profiler

This commit is contained in:
Wim Taymans 2020-12-20 12:24:26 +01:00
parent 0370d7580f
commit 2d89ad8533
2 changed files with 13 additions and 6 deletions

View file

@ -41,7 +41,8 @@ enum spa_profiler {
* Long : counter,
* Float : cpu_load fast,
* Float : cpu_load medium,
* Float : cpu_load slow)) */
* Float : cpu_load slow),
* Int : xrun-count)) */
SPA_PROFILER_clock, /**< clock information
* (Struct(
* Int : clock flags,
@ -62,7 +63,8 @@ enum spa_profiler {
* Long : driver signal,
* Long : driver awake,
* Long : driver finish,
* Int : driver status)) */
* Int : driver status),
* Fraction : latency)) */
SPA_PROFILER_START_Follower = 0x20000, /**< follower related profiler properties */
SPA_PROFILER_followerBlock, /**< generic follower info block
@ -73,7 +75,9 @@ enum spa_profiler {
* Long : signal,
* Long : awake,
* Long : finish,
* Int : status)) */
* Int : status,
* Fraction : latency)) */
SPA_PROFILER_START_CUSTOM = 0x1000000,
};