pw-profiler: add profiler tool

Add Profiler object and fields.
Add profiler extension API. It notifies Profiler objects with
real-time performance data.
Add module that implements the profiler extension.
Add pw-profiler tool that binds to the profiler API and dumps the
data into a log file, gnuplot files, a html page and a script to
generate svg graphs. This is almost the same as what JACK2
JackEngineProfiling does.
This commit is contained in:
Wim Taymans 2020-01-31 15:07:26 +01:00
parent 5a47652dc2
commit 3317af804b
13 changed files with 1182 additions and 1 deletions

View file

@ -17,6 +17,13 @@ executable('pw-dot',
dependencies : [pipewire_dep],
)
executable('pw-profiler',
'pw-profiler.c',
c_args : [ '-D_GNU_SOURCE' ],
install: true,
dependencies : [pipewire_dep],
)
if get_option('pw-cat') and sndfile_dep.found()
pwcat_sources = [