group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
group2::perf::Snapshot Struct Reference

Globally-visible snapshot returned to the aggregator callback. More...

#include <Profiler.hpp>

Classes

struct  ScopeSummary
 Per-scope summary, filled for [0, scopeCount). More...

Public Attributes

std::array< ScopeSummary, k_maxScopesscopes {}
std::size_t scopeNum = 0
std::uint64_t tickCount = 0
 Per-tick wall time over the aggregation window.
std::uint64_t tickSumNs = 0
std::uint64_t tickMaxNs = 0
std::uint64_t tickP99Ns = 0
std::uint64_t bytesSent = 0
 Network totals over the window.
std::uint64_t bytesRecv = 0
std::uint64_t snapshotsSent = 0
std::uint64_t packetsSent = 0
std::uint64_t packetsRecv = 0
std::uint32_t peakBacklog = 0
std::uint32_t clientCount = 0
std::uint64_t windowStartMs = 0
 Wall-clock window covered (POSIX millis since epoch).
std::uint64_t windowEndMs = 0

Detailed Description

Globally-visible snapshot returned to the aggregator callback.

Member Data Documentation

◆ bytesRecv

std::uint64_t group2::perf::Snapshot::bytesRecv = 0

◆ bytesSent

std::uint64_t group2::perf::Snapshot::bytesSent = 0

Network totals over the window.

◆ clientCount

std::uint32_t group2::perf::Snapshot::clientCount = 0

◆ packetsRecv

std::uint64_t group2::perf::Snapshot::packetsRecv = 0

◆ packetsSent

std::uint64_t group2::perf::Snapshot::packetsSent = 0

◆ peakBacklog

std::uint32_t group2::perf::Snapshot::peakBacklog = 0

◆ scopeNum

std::size_t group2::perf::Snapshot::scopeNum = 0

◆ scopes

std::array<ScopeSummary, k_maxScopes> group2::perf::Snapshot::scopes {}

◆ snapshotsSent

std::uint64_t group2::perf::Snapshot::snapshotsSent = 0

◆ tickCount

std::uint64_t group2::perf::Snapshot::tickCount = 0

Per-tick wall time over the aggregation window.

◆ tickMaxNs

std::uint64_t group2::perf::Snapshot::tickMaxNs = 0

◆ tickP99Ns

std::uint64_t group2::perf::Snapshot::tickP99Ns = 0

◆ tickSumNs

std::uint64_t group2::perf::Snapshot::tickSumNs = 0

◆ windowEndMs

std::uint64_t group2::perf::Snapshot::windowEndMs = 0

◆ windowStartMs

std::uint64_t group2::perf::Snapshot::windowStartMs = 0

Wall-clock window covered (POSIX millis since epoch).


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