Перейти до основного вмісту

TelemetryStats Struct

One Sentinel measurement summarized over a telemetry window. More...

Declaration​

struct simaai::neat::TelemetryStats { ... }

Included Headers​

#include <TelemetryMonitor.h>

Public Member Attributes Index​

std::stringkey

Sentinel metric key, for example power_current_watts. More...

std::stringlabel

Sentinel display label. More...

std::stringunit

Unit of the values. More...

intsamples = 0

Sentinel samples that carried a value. More...

doublemean = 0.0

Mean over those samples. More...

doubleminimum = 0.0
doublemaximum = 0.0
doublelast = 0.0

Value in the newest of those samples. More...

Description​

One Sentinel measurement summarized over a telemetry window.

samples == 0 means the board did not report the measurement during the window, and the statistics are then zero.

Definition at line 32 of file TelemetryMonitor.h.

Public Member Attributes​

key​

std::string simaai::neat::TelemetryStats::key

Sentinel metric key, for example power_current_watts.

Definition at line 33 of file TelemetryMonitor.h.

label​

std::string simaai::neat::TelemetryStats::label

Sentinel display label.

Definition at line 34 of file TelemetryMonitor.h.

last​

double simaai::neat::TelemetryStats::last = 0.0

Value in the newest of those samples.

Definition at line 40 of file TelemetryMonitor.h.

maximum​

double simaai::neat::TelemetryStats::maximum = 0.0

Definition at line 39 of file TelemetryMonitor.h.

mean​

double simaai::neat::TelemetryStats::mean = 0.0

Mean over those samples.

Definition at line 37 of file TelemetryMonitor.h.

minimum​

double simaai::neat::TelemetryStats::minimum = 0.0

Definition at line 38 of file TelemetryMonitor.h.

samples​

int simaai::neat::TelemetryStats::samples = 0

Sentinel samples that carried a value.

Definition at line 36 of file TelemetryMonitor.h.

unit​

std::string simaai::neat::TelemetryStats::unit

Unit of the values.

Definition at line 35 of file TelemetryMonitor.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.