Skip to main content

MetadataSenderStats Struct

Point-in-time diagnostics for one metadata sender. More...

Declaration

struct simaai::neat::MetadataSenderStats { ... }

Included Headers

#include <MetadataSender.h>

Public Member Attributes Index

uint64_tsend_attempts = 0

Calls that reached sendto. More...

uint64_tdatagrams_sent = 0

Complete UDP datagrams accepted by the kernel. More...

uint64_tsend_failures = 0

All failed or partial sends. More...

uint64_twould_block = 0

Failures with EAGAIN/EWOULDBLOCK. More...

uint64_tno_buffer_space = 0

Failures with ENOBUFS. More...

uint64_tlast_send_duration_ns = 0

Duration of the most recent sendto call. More...

uint64_tmax_send_duration_ns = 0

Longest observed sendto call. More...

intlast_errno = 0

Last failed-send errno, or zero after success. More...

Description

Point-in-time diagnostics for one metadata sender.

MetadataSender::stats() may be called while other threads are sending. The returned fields are individually coherent counters, but the structure is a concurrent diagnostic snapshot rather than a transactional snapshot of one instant.

Definition at line 41 of file MetadataSender.h.

Public Member Attributes

datagrams_sent

uint64_t simaai::neat::MetadataSenderStats::datagrams_sent = 0

Complete UDP datagrams accepted by the kernel.

Definition at line 43 of file MetadataSender.h.

last_errno

int simaai::neat::MetadataSenderStats::last_errno = 0

Last failed-send errno, or zero after success.

Definition at line 49 of file MetadataSender.h.

last_send_duration_ns

uint64_t simaai::neat::MetadataSenderStats::last_send_duration_ns = 0

Duration of the most recent sendto call.

Definition at line 47 of file MetadataSender.h.

max_send_duration_ns

uint64_t simaai::neat::MetadataSenderStats::max_send_duration_ns = 0

Longest observed sendto call.

Definition at line 48 of file MetadataSender.h.

no_buffer_space

uint64_t simaai::neat::MetadataSenderStats::no_buffer_space = 0

Failures with ENOBUFS.

Definition at line 46 of file MetadataSender.h.

send_attempts

uint64_t simaai::neat::MetadataSenderStats::send_attempts = 0

Calls that reached sendto.

Definition at line 42 of file MetadataSender.h.

send_failures

uint64_t simaai::neat::MetadataSenderStats::send_failures = 0

All failed or partial sends.

Definition at line 44 of file MetadataSender.h.

would_block

uint64_t simaai::neat::MetadataSenderStats::would_block = 0

Failures with EAGAIN/EWOULDBLOCK.

Definition at line 45 of file MetadataSender.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.