Account for the total size of a sent message in the per msg type connection stats.

Synopsis

Declared in <net.h>

[[requires_capability(0x7f2e2b2a80b8), requires_capability(0x7f2e2ad13808), requires_capability(0x7f2e23031e68), requires_capability(0x7f2e26edea38), requires_capability(0x7f2e231580b8), requires_capability(0x7f2e36827938), requires_capability(0x7f2e228b0058), requires_capability(0x7f2e431dce18), requires_capability(0x7f2e1b9fc0e8), requires_capability(0x7f2e2b9cfc88), requires_capability(0x7f2e403d2388)]]
void
AccountForSentBytes(
    std::string const& msg_type,
    size_t sent_bytes);

Parameters

Name

Description

msg_type

the message type (command) that was sent.

sent_bytes

the number of bytes sent for that message.

Created with MrDocs