Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::audio::AudioProcessLoadSnapshot Struct Reference

Snapshot published by AudioProcessLoadMeasurer. More...

#include <load_measurer.hpp>

Public Attributes

float load = 0.0f
 Smoothed CPU load. 1.0 == full buffer.
float peak_load = 0.0f
 Highest raw load since the last reset.
float last_load = 0.0f
 Most recent raw load sample.
std::int64_t elapsed_ns = 0
std::int64_t available_ns = 0
std::uint64_t callback_count = 0
std::uint64_t overload_count = 0

Detailed Description

Snapshot published by AudioProcessLoadMeasurer.

All values are cheap telemetry for UI, inspector, and diagnostic polling. They are intentionally latest-value counters, not an exact trace stream.

Member Data Documentation

◆ available_ns

std::int64_t pulp::audio::AudioProcessLoadSnapshot::available_ns = 0

◆ callback_count

std::uint64_t pulp::audio::AudioProcessLoadSnapshot::callback_count = 0

◆ elapsed_ns

std::int64_t pulp::audio::AudioProcessLoadSnapshot::elapsed_ns = 0

◆ last_load

float pulp::audio::AudioProcessLoadSnapshot::last_load = 0.0f

Most recent raw load sample.

◆ load

float pulp::audio::AudioProcessLoadSnapshot::load = 0.0f

Smoothed CPU load. 1.0 == full buffer.

◆ overload_count

std::uint64_t pulp::audio::AudioProcessLoadSnapshot::overload_count = 0

◆ peak_load

float pulp::audio::AudioProcessLoadSnapshot::peak_load = 0.0f

Highest raw load since the last reset.


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