PipeWire: spa/param/profiler-types.h Source File

PipeWire 1.2.6

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#ifdef __cplusplus
9extern "C" {
10#endif
11
17#include <spa/param/param-types.h>
18#include <spa/param/profiler.h>
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
23static 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 { 0, 0, NULL, NULL },
30};
31
36#ifdef __cplusplus
37} /* extern "C" */
38#endif
39
40#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:49
SPA_PROFILER_followerBlock
@ SPA_PROFILER_followerBlock
generic follower info block (Struct( Int : id, ...
Definition profiler.h:62
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_TYPE_Id
@ SPA_TYPE_Id
Definition type.h:33
SPA_TYPE_Struct
@ SPA_TYPE_Struct
Definition type.h:44
param-types.h
spa/param/param-types.h
profiler.h
spa/param/profiler.h
spa_type_info
Definition type.h:143