Rialto 0.1
Rialto media pipeline API
Loading...
Searching...
No Matches
Public Attributes | List of all members
firebolt::rialto::MetricEvent Struct Reference

A single playback metric event. More...

#include <MediaCommon.h>

Public Attributes

MetricType type {MetricType::VIDEO_FRAME_DROP}
 
MetricPhase phase {MetricPhase::OCCURRENCE}
 
int32_t sourceId {-1}
 
std::optional< int64_t > presentationTimeStampNs
 
std::optional< uint64_t > count
 
std::optional< uint64_t > durationNs
 
uint64_t observedAtMonotonicNs {0}
 
int64_t observedAtUnixNs {0}
 

Detailed Description

A single playback metric event.

Optional fields that are absent are left as std::nullopt.

Member Data Documentation

◆ count

std::optional<uint64_t> firebolt::rialto::MetricEvent::count

Count associated with the event, if known

◆ durationNs

std::optional<uint64_t> firebolt::rialto::MetricEvent::durationNs

Duration in nanoseconds, if known

◆ observedAtMonotonicNs

uint64_t firebolt::rialto::MetricEvent::observedAtMonotonicNs {0}

Monotonic time of observation in nanoseconds

◆ observedAtUnixNs

int64_t firebolt::rialto::MetricEvent::observedAtUnixNs {0}

Unix time of observation in nanoseconds

◆ phase

MetricPhase firebolt::rialto::MetricEvent::phase {MetricPhase::OCCURRENCE}

The observation phase

◆ presentationTimeStampNs

std::optional<int64_t> firebolt::rialto::MetricEvent::presentationTimeStampNs

Presentation timestamp in nanoseconds, if known

◆ sourceId

int32_t firebolt::rialto::MetricEvent::sourceId {-1}

The source the metric belongs to

◆ type

MetricType firebolt::rialto::MetricEvent::type {MetricType::VIDEO_FRAME_DROP}

The metric type


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