PipeWire 1.6.5

Loading...
Searching...
No Matches
profiler-types.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_PARAM_PROFILER_TYPES_H
6#define SPA_PARAM_PROFILER_TYPES_H
7
8#include <spa/param/param-types.h>
9#include <spa/param/profiler.h>
10
11#ifdef __cplusplus
12 extern "C" {
13#endif
14
19
20#define SPA_TYPE_INFO_Profiler SPA_TYPE_INFO_OBJECT_BASE "Profiler"
21#define SPA_TYPE_INFO_PROFILER_BASE SPA_TYPE_INFO_Profiler ":"
22
23 static const struct spa_type_info spa_type_profiler[] = {
24 { SPA_PROFILER_START, SPA_TYPE_Id, SPA_TYPE_INFO_PROFILER_BASE, spa_type_param, },
25 { SPA_PROFILER_info, SPA_TYPE_Struct, SPA_TYPE_INFO_PROFILER_BASE "info", NULL, },
26 { SPA_PROFILER_clock, SPA_TYPE_Struct, SPA_TYPE_INFO_PROFILER_BASE "clock", NULL, },
27 { SPA_PROFILER_driverBlock, SPA_TYPE_Struct, SPA_TYPE_INFO_PROFILER_BASE "driverBlock", NULL, },
28 { SPA_PROFILER_followerBlock, SPA_TYPE_Struct, SPA_TYPE_INFO_PROFILER_BASE "followerBlock", NULL, },
29 { SPA_PROFILER_followerClock, SPA_TYPE_Struct, SPA_TYPE_INFO_PROFILER_BASE "followerClock", NULL, },
30 { 0, 0, NULL, NULL },
31};
32
36
37#ifdef __cplusplus
38} /* extern "C" */
39#endif
40
41#endif /* SPA_PARAM_PROFILER_TYPES_H */
SPA_TYPE_INFO_PROFILER_BASE
#define SPA_TYPE_INFO_PROFILER_BASE
Definition profiler-types.h:28
spa_type_param
static const struct spa_type_info spa_type_param[]
Definition param-types.h:32
spa_type_profiler
static const struct spa_type_info spa_type_profiler[]
Definition profiler-types.h:30
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_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_followerClock
@ SPA_PROFILER_followerClock
follower clock information (Struct( Int : clock id,...
Definition profiler.h:76
SPA_TYPE_Id
@ SPA_TYPE_Id
Definition type.h:44
SPA_TYPE_Struct
@ SPA_TYPE_Struct
Definition type.h:55
param-types.h
spa/param/param-types.h
profiler.h
spa/param/profiler.h
spa_type_info
Definition type.h:156