Loading...
Searching...
No Matches
profiler-types.h
Go to the documentation of this file.
/* Simple Plugin API */
/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#ifndef SPA_PARAM_PROFILER_TYPES_H
#define SPA_PARAM_PROFILER_TYPES_H
#ifdef __cplusplus
extern "C" {
#endif
#include <spa/param/param-types.h>
#include <spa/param/profiler.h>
#define SPA_TYPE_INFO_Profiler SPA_TYPE_INFO_OBJECT_BASE "Profiler"
#define SPA_TYPE_INFO_PROFILER_BASE SPA_TYPE_INFO_Profiler ":"
static const struct spa_type_info spa_type_profiler[] = {
{ SPA_PROFILER_START, SPA_TYPE_Id, SPA_TYPE_INFO_PROFILER_BASE, spa_type_param, },
{ SPA_PROFILER_info, SPA_TYPE_Struct, SPA_TYPE_INFO_PROFILER_BASE "info", NULL, },
{ SPA_PROFILER_clock, SPA_TYPE_Struct, SPA_TYPE_INFO_PROFILER_BASE "clock", NULL, },
{ SPA_PROFILER_driverBlock, SPA_TYPE_Struct, SPA_TYPE_INFO_PROFILER_BASE "driverBlock", NULL, },
{ SPA_PROFILER_followerBlock, SPA_TYPE_Struct, SPA_TYPE_INFO_PROFILER_BASE "followerBlock", NULL, },
{ 0, 0, NULL, NULL },
};
#ifdef __cplusplus
} /* extern "C" */
#endif
#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:48
SPA_PROFILER_followerBlock
@ SPA_PROFILER_followerBlock
generic follower info block (Struct( Int : id,...
Definition profiler.h:60
SPA_PROFILER_clock
@ SPA_PROFILER_clock
clock information (Struct( Int : clock flags, ...
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
spa_type_info::type
uint32_t type
Definition type.h:144