profiler: Improve profiler info

Split the profiler info into multiple properties.
Give feedback about time and logged samples while profiling.
This commit is contained in:
Wim Taymans 2020-02-03 12:33:01 +01:00
parent bdad7d87f9
commit a4a93a2a16
4 changed files with 71 additions and 25 deletions

View file

@ -36,6 +36,8 @@ enum spa_profiler {
SPA_PROFILER_START,
SPA_PROFILER_START_Driver = 0x10000, /**< driver related profiler properties */
SPA_PROFILER_info, /**< Generic info, counter and CPU load */
SPA_PROFILER_clock, /**< clock information */
SPA_PROFILER_driverBlock, /**< generic driver info block */
SPA_PROFILER_START_Follower = 0x20000, /**< follower related profiler properties */