llarp::service::OverheadStats

Public Functions

Name
void Clear()
constexpr double percent() const
template <typename T >
void
RecordOverhead(const T & t)
bool ShouldReport() const
void Report(std::string_view ) const

Public Attributes

Name
size_t overhead
size_t total
llarp_time_t last_report

Public Functions Documentation

function Clear

inline void Clear()

function percent

inline constexpr double percent() const

function RecordOverhead

template <typename T >
inline void RecordOverhead(
    const T & t
)

function ShouldReport

bool ShouldReport() const

function Report

void Report(
    std::string_view 
) const

Public Attributes Documentation

variable overhead

size_t overhead {};

variable total

size_t total {};

variable last_report

llarp_time_t last_report {};

Updated on 2026-04-01 at 23:35:40 +0000