PipeWire 1.4.8

Loading...
Searching...
No Matches
profiler.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2020 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_PARAM_PROFILER_H
6#define SPA_PARAM_PROFILER_H
7
8#ifdef __cplusplus
9 extern "C" {
10#endif
11
16
17#include <spa/param/param.h>
18
20 enum spa_profiler {
21 SPA_PROFILER_START,
22
23 SPA_PROFILER_START_Driver = 0x10000,
24 SPA_PROFILER_info,
25 * (Struct(
26 * Long : counter,
27 * Float : cpu_load fast,
28 * Float : cpu_load medium,
29 * Float : cpu_load slow),
30 * Int : xrun-count)) */
31 SPA_PROFILER_clock,
46 SPA_PROFILER_driverBlock,
57
58 SPA_PROFILER_START_Follower = 0x20000,
59 SPA_PROFILER_followerBlock,
70 SPA_PROFILER_followerClock,
82 SPA_PROFILER_START_CUSTOM = 0x1000000,
83};
84
88
89#ifdef __cplusplus
90} /* extern "C" */
91#endif
92
93#endif /* SPA_PARAM_PROFILER_H */
spa_profiler
spa_profiler
properties for SPA_TYPE_OBJECT_Profiler
Definition profiler.h:25
SPA_PROFILER_driverBlock
@ SPA_PROFILER_driverBlock
generic driver info block (Struct( Int : driver_id,...
Definition profiler.h:51
SPA_PROFILER_followerBlock
@ SPA_PROFILER_followerBlock
generic follower info block (Struct( Int : id, ...
Definition profiler.h:64
SPA_PROFILER_clock
@ SPA_PROFILER_clock
clock information (Struct( Int : clock flags, I...
Definition profiler.h:36
SPA_PROFILER_START_Follower
@ SPA_PROFILER_START_Follower
follower related profiler properties
Definition profiler.h:63
SPA_PROFILER_info
@ SPA_PROFILER_info
Generic info, counter and CPU load, (Struct( Long : counter,...
Definition profiler.h:29
SPA_PROFILER_START
@ SPA_PROFILER_START
Definition profiler.h:26
SPA_PROFILER_START_CUSTOM
@ SPA_PROFILER_START_CUSTOM
Definition profiler.h:87
SPA_PROFILER_followerClock
@ SPA_PROFILER_followerClock
follower clock information (Struct( Int : clock id,...
Definition profiler.h:75
SPA_PROFILER_START_Driver
@ SPA_PROFILER_START_Driver
driver related profiler properties
Definition profiler.h:28
param.h
spa/param/param.h