QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstHwPathTelemetry::Snapshot Struct Reference

Every counter and fallback reason at one instant; a reader's baseline for counts since then. More...

#include <GstHwPathTelemetry.h>

Public Member Functions

quint64 count (HwVideoBufferPath path, Counter counter) const noexcept
quint64 count (HwVideoBufferPath path, HwFallbackReason reason) const noexcept

Public Attributes

std::array< std::array< quint64, std::size_t(Counter::Count)>, GstHw::kPathCount > counters {}
std::array< std::array< quint64, std::size_t(HwFallbackReason::Count)>, GstHw::kPathCount > fallbackReasons {}

Detailed Description

Every counter and fallback reason at one instant; a reader's baseline for counts since then.

Definition at line 73 of file GstHwPathTelemetry.h.

Member Function Documentation

◆ count() [1/2]

quint64 GstHwPathTelemetry::Snapshot::count ( HwVideoBufferPath path,
Counter counter ) const
inlinenoexcept

Definition at line 78 of file GstHwPathTelemetry.h.

References counters.

Referenced by HwBuffers::extraPathStatsSince().

◆ count() [2/2]

quint64 GstHwPathTelemetry::Snapshot::count ( HwVideoBufferPath path,
HwFallbackReason reason ) const
inlinenoexcept

Definition at line 83 of file GstHwPathTelemetry.h.

References fallbackReasons.

Member Data Documentation

◆ counters

std::array<std::array<quint64, std::size_t(Counter::Count)>, GstHw::kPathCount> GstHwPathTelemetry::Snapshot::counters {}

Definition at line 75 of file GstHwPathTelemetry.h.

Referenced by count(), and GstHwPathTelemetry::snapshot().

◆ fallbackReasons

std::array<std::array<quint64, std::size_t(HwFallbackReason::Count)>, GstHw::kPathCount> GstHwPathTelemetry::Snapshot::fallbackReasons {}

Definition at line 76 of file GstHwPathTelemetry.h.

Referenced by count(), and GstHwPathTelemetry::snapshot().


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