Profiler
Extensions

Profiler interface. More...

## Files

file | profiler.h
| `pipewire/extensions/profiler.h`

## Data Structures

struct | pw_profiler_events
| Profiler events More...
struct | pw_profiler_methods
| Profiler methods More...
struct | pw_profiler

## Macros

#define | PW_TYPE_INTERFACE_Profiler PW_TYPE_INFO_INTERFACE_BASE "Profiler"
#define | PW_VERSION_PROFILER 3
#define | PW_EXTENSION_MODULE_PROFILER PIPEWIRE_MODULE_PREFIX "module-profiler"
#define | PW_PROFILER_EVENT_PROFILE 0
#define | PW_PROFILER_EVENT_NUM 1
#define | PW_VERSION_PROFILER_EVENTS 0
#define | PW_PROFILER_METHOD_ADD_LISTENER 0
#define | PW_PROFILER_METHOD_NUM 1
#define | PW_VERSION_PROFILER_METHODS 0
#define | pw_profiler_method(o, method, version, ...)
#define | pw_profiler_add_listener(c, ...) pw_profiler_method(c,add_listener,0,__VA_ARGS__)
#define | PW_KEY_PROFILER_NAME "profiler.name"

## Detailed Description

Profiler interface.

## Macro Definition Documentation

## PW_TYPE_INTERFACE_Profiler

#define PW_TYPE_INTERFACE_Profiler PW_TYPE_INFO_INTERFACE_BASE "Profiler"

## PW_VERSION_PROFILER

#define PW_VERSION_PROFILER 3

## PW_EXTENSION_MODULE_PROFILER

#define PW_EXTENSION_MODULE_PROFILER PIPEWIRE_MODULE_PREFIX "module-profiler"

## PW_PROFILER_EVENT_PROFILE

#define PW_PROFILER_EVENT_PROFILE 0

## PW_PROFILER_EVENT_NUM

#define PW_PROFILER_EVENT_NUM 1

## PW_VERSION_PROFILER_EVENTS

#define PW_VERSION_PROFILER_EVENTS 0

## PW_PROFILER_METHOD_ADD_LISTENER

#define PW_PROFILER_METHOD_ADD_LISTENER 0

## PW_PROFILER_METHOD_NUM

#define PW_PROFILER_METHOD_NUM 1

## PW_VERSION_PROFILER_METHODS

#define PW_VERSION_PROFILER_METHODS 0

## pw_profiler_method

#define pw_profiler_method | ( |  | o,
|  |  | method,
|  |  | version,
|  |  | ...
| ) |  |

## pw_profiler_add_listener

#define pw_profiler_add_listener | ( |  | c,
|  |  | ...
| ) |  | pw_profiler_method(c,add_listener,0,__VA_ARGS__)

See also
  pw_profiler_methods.add_listener

## PW_KEY_PROFILER_NAME

#define PW_KEY_PROFILER_NAME "profiler.name"