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

Where the bridge reports its benchmark timings. More...

#include <visualization_bridge.hpp>

Public Attributes

std::atomic< double > * audio_copy_total_us = nullptr
std::atomic< double > * triplebuffer_publish_total_us = nullptr

Detailed Description

Where the bridge reports its benchmark timings.

Each member points at an accumulator the caller owns (for example the matching fields of pulp::render::bench::PerfCounters), so the bridge adds elapsed microseconds straight into the caller's snapshot without naming its type. A null member is not recorded. The accumulators must outlive the installed sink. The bridge records only when PULP_BENCHMARK is defined.

Member Data Documentation

◆ audio_copy_total_us

std::atomic<double>* pulp::dataplane::VisualizationBenchSink::audio_copy_total_us = nullptr

◆ triplebuffer_publish_total_us

std::atomic<double>* pulp::dataplane::VisualizationBenchSink::triplebuffer_publish_total_us = nullptr

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