ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
lws_callback_stats_t Struct Reference

Callback profiling statistics for a single LWS callback reason. More...

#include <include/ascii-chat/network/websocket/callback_profiler.h>

Data Fields

uint64_t invocation_count
 Number of times callback was invoked.
uint64_t total_time_ns
 Total accumulated execution time in nanoseconds.
uint64_t min_time_ns
 Minimum single callback execution time.
uint64_t max_time_ns
 Maximum single callback execution time.
uint64_t bytes_processed
 Total data processed by this callback.
uint64_t last_invocation_ns
 Timestamp of last invocation (wall clock).

Detailed Description

Callback profiling statistics for a single LWS callback reason.

Callback profiling statistics for a single LWS callback reason

Definition at line 28 of file callback_profiler.h.

Field Documentation

◆ bytes_processed

uint64_t lws_callback_stats_t::bytes_processed

Total data processed by this callback.

Definition at line 33 of file callback_profiler.h.

◆ invocation_count

uint64_t lws_callback_stats_t::invocation_count

Number of times callback was invoked.

Definition at line 29 of file callback_profiler.h.

◆ last_invocation_ns

uint64_t lws_callback_stats_t::last_invocation_ns

Timestamp of last invocation (wall clock).

Definition at line 34 of file callback_profiler.h.

◆ max_time_ns

uint64_t lws_callback_stats_t::max_time_ns

Maximum single callback execution time.

Definition at line 32 of file callback_profiler.h.

◆ min_time_ns

uint64_t lws_callback_stats_t::min_time_ns

Minimum single callback execution time.

Definition at line 31 of file callback_profiler.h.

◆ total_time_ns

uint64_t lws_callback_stats_t::total_time_ns

Total accumulated execution time in nanoseconds.

Definition at line 30 of file callback_profiler.h.


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