mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-18 07:23:24 +09:00
15 lines
553 B
C++
15 lines
553 B
C++
// P6.5 transport measurements. Called only by the single client producer.
|
|
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace MobileGL::MG_Remote::Transport {
|
|
// Disabled sessions never read a clock. Samples are a fixed 32-bucket histogram.
|
|
void LinkMetricsBegin();
|
|
void LinkMetricsEnd();
|
|
std::uint64_t LinkMetricsBeginReply(bool wantsReply);
|
|
void LinkMetricsReplyApplied(std::uint64_t startedNs);
|
|
void LinkMetricsStageBytes(std::uint64_t bytes);
|
|
void LinkMetricsPresent();
|
|
void LinkMetricsServerPresent(std::uint64_t serial);
|
|
}
|