载入中...
搜索中...
未找到
eve::climbing::ClimbingTelemetryBuffer类 参考

Runtime-owned fixed ring of performance samples. 更多...

#include <ClimbingTelemetry.h>

Public 成员函数

void record (ClimbingTelemetrySample sample) noexcept
 Append one sample, overwriting the oldest sample when full.
 
void updateLatestCounters (ClimbingRuntimeCounters counters) noexcept
 Replace counters on the most recent sample after a caller completes deferred hard validation.
 
std::span< const ClimbingTelemetrySample > samples () const noexcept
 Return current samples in physical storage order; order is irrelevant to percentile summaries.
 
ClimbingTelemetrySummary summarize (ClimbingWorkload workload) const noexcept
 Compute exact nearest-rank p50/p95 values for one workload.
 
void clear () noexcept
 Clear samples without releasing storage.
 

静态 Public 属性

static constexpr std::size_t Capacity = 256
 

详细描述

Runtime-owned fixed ring of performance samples.

Recording overwrites the oldest sample at capacity and performs no allocation. Percentile summaries use fixed stack arrays and therefore remain safe to request while diagnostic string capture is disabled.

在文件 ClimbingTelemetry.h 第 82 行定义.

成员函数说明

◆ clear()

void eve::climbing::ClimbingTelemetryBuffer::clear ( )
inlinenoexcept

Clear samples without releasing storage.

在文件 ClimbingTelemetry.h 第 97 行定义.

◆ record()

void eve::climbing::ClimbingTelemetryBuffer::record ( ClimbingTelemetrySample  sample)
noexcept

Append one sample, overwriting the oldest sample when full.

在文件 ClimbingTelemetry.cpp 第 18 行定义.

被这些函数引用 eve::climbing::runtime_detail::RuntimeTelemetryScope::~RuntimeTelemetryScope().

◆ samples()

std::span< const ClimbingTelemetrySample > eve::climbing::ClimbingTelemetryBuffer::samples ( ) const
inlinenoexcept

Return current samples in physical storage order; order is irrelevant to percentile summaries.

在文件 ClimbingTelemetry.h 第 91 行定义.

◆ summarize()

◆ updateLatestCounters()

void eve::climbing::ClimbingTelemetryBuffer::updateLatestCounters ( ClimbingRuntimeCounters  counters)
noexcept

Replace counters on the most recent sample after a caller completes deferred hard validation.

在文件 ClimbingTelemetry.cpp 第 24 行定义.

类成员变量说明

◆ Capacity

constexpr std::size_t eve::climbing::ClimbingTelemetryBuffer::Capacity = 256
staticconstexpr

在文件 ClimbingTelemetry.h 第 84 行定义.


该类的文档由以下文件生成: