Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::audio::ProfilerConfig Struct Reference

Profiler Configuration Parameters. Controls profiling interval and duration of each circular buffer chunk. More...

#include <profiler.h>

Public Member Functions

 ProfilerConfig ()
 Default Initialization. More...
 
 ProfilerConfig (core::nanoseconds_t interval, core::nanoseconds_t duration)
 Override Initialization. More...
 

Public Attributes

core::nanoseconds_t profiling_interval
 Rolling window duration and reporting interval. More...
 
core::nanoseconds_t chunk_duration
 Duration of samples each chunk can hold in the circular buffer. More...
 

Detailed Description

Profiler Configuration Parameters. Controls profiling interval and duration of each circular buffer chunk.

Definition at line 30 of file profiler.h.

Constructor & Destructor Documentation

◆ ProfilerConfig() [1/2]

roc::audio::ProfilerConfig::ProfilerConfig ( )
inline

Default Initialization.

Definition at line 32 of file profiler.h.

◆ ProfilerConfig() [2/2]

roc::audio::ProfilerConfig::ProfilerConfig ( core::nanoseconds_t  interval,
core::nanoseconds_t  duration 
)
inline

Override Initialization.

Definition at line 38 of file profiler.h.

Member Data Documentation

◆ chunk_duration

core::nanoseconds_t roc::audio::ProfilerConfig::chunk_duration

Duration of samples each chunk can hold in the circular buffer.

Definition at line 47 of file profiler.h.

◆ profiling_interval

core::nanoseconds_t roc::audio::ProfilerConfig::profiling_interval

Rolling window duration and reporting interval.

Definition at line 44 of file profiler.h.


The documentation for this struct was generated from the following file: