| D++ (DPP) C++ Discord API Bot Library

Search
Loading...
Searching...
No Matches
dpp::socket_stats Struct Reference

Contains statistics about the IO loop. More...

`#include <socketengine.h>`

Collaboration diagram for dpp::socket_stats:
[legend]

## Public Attributes

uint64_t | active_fds {0}
| Number of currently active file descriptors.
uint64_t | deletions {0}
| Number of deletions of file descriptors.
std::string_view | engine_type
| Socket engine type.
uint64_t | errors {0}
| Number of errors since startup.
uint64_t | iterations {0}
| Number of loop iterations since startup.
uint64_t | reads {0}
| Number of reads since startup.
uint64_t | updates {0}
| Number of updates to file descriptors.
uint64_t | writes {0}
| Number of writes since startup.

## Detailed Description

Contains statistics about the IO loop.

## Member Data Documentation

## ◆ active_fds

uint64_t dpp::socket_stats::active_fds {0}

Number of currently active file descriptors.

## ◆ deletions

uint64_t dpp::socket_stats::deletions {0}

Number of deletions of file descriptors.

## ◆ engine_type

std::string_view dpp::socket_stats::engine_type

Socket engine type.

## ◆ errors

uint64_t dpp::socket_stats::errors {0}

Number of errors since startup.

## ◆ iterations

uint64_t dpp::socket_stats::iterations {0}

Number of loop iterations since startup.

## ◆ reads

uint64_t dpp::socket_stats::reads {0}

Number of reads since startup.

## ◆ updates

uint64_t dpp::socket_stats::updates {0}

Number of updates to file descriptors.

## ◆ writes

uint64_t dpp::socket_stats::writes {0}

Number of writes since startup.

D++ Library version 9.0.13 D++ Library version 9.0.12 D++ Library version 9.0.11 D++ Library version 9.0.10 D++ Library version 9.0.9 D++ Library version 9.0.8 D++ Library version 9.0.7 D++ Library version 9.0.6 D++ Library version 9.0.5 D++ Library version 9.0.4 D++ Library version 9.0.3 D++ Library version 9.0.2 D++ Library version 9.0.1 D++ Library version 9.0.0 D++ Library version 1.0.2 D++ Library version 1.0.1 D++ Library version 1.0.0