MetadataSenderStats Struct
Point-in-time diagnostics for one metadata sender. More...
Declaration
Included Headers
Public Member Attributes Index
| uint64_t | send_attempts = 0 |
|
Calls that reached sendto. More... | |
| uint64_t | datagrams_sent = 0 |
|
Complete UDP datagrams accepted by the kernel. More... | |
| uint64_t | send_failures = 0 |
|
All failed or partial sends. More... | |
| uint64_t | would_block = 0 |
|
Failures with EAGAIN/EWOULDBLOCK. More... | |
| uint64_t | no_buffer_space = 0 |
|
Failures with ENOBUFS. More... | |
| uint64_t | last_send_duration_ns = 0 |
|
Duration of the most recent sendto call. More... | |
| uint64_t | max_send_duration_ns = 0 |
|
Longest observed sendto call. More... | |
| int | last_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
|
Complete UDP datagrams accepted by the kernel.
Definition at line 43 of file MetadataSender.h.
last_errno
|
Last failed-send errno, or zero after success.
Definition at line 49 of file MetadataSender.h.
last_send_duration_ns
|
Duration of the most recent sendto call.
Definition at line 47 of file MetadataSender.h.
max_send_duration_ns
|
Longest observed sendto call.
Definition at line 48 of file MetadataSender.h.
no_buffer_space
|
Failures with ENOBUFS.
Definition at line 46 of file MetadataSender.h.
send_attempts
|
Calls that reached sendto.
Definition at line 42 of file MetadataSender.h.
send_failures
|
All failed or partial sends.
Definition at line 44 of file MetadataSender.h.
would_block
|
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.