Libtrap: Internal development docs  1.16.1
Variables
IFC counters

Variables

uint64_t * trap_ctx_priv_s::counter_send_message
 
uint64_t * trap_ctx_priv_s::counter_dropped_message
 
uint64_t * trap_ctx_priv_s::counter_recv_message
 
uint64_t * trap_ctx_priv_s::counter_send_buffer
 
uint64_t * trap_ctx_priv_s::counter_autoflush
 
uint64_t * trap_ctx_priv_s::counter_recv_buffer
 
uint64_t * trap_ctx_priv_s::counter_recv_delay_last
 
uint64_t * trap_ctx_priv_s::counter_recv_delay_total
 
uint64_t * trap_ctx_priv_s::recv_delay_timestamp
 

Detailed Description

The counters are sent by service_thread_routine() via service IFC (e.g. to supervisor).

Variable Documentation

◆ counter_autoflush

uint64_t* trap_ctx_priv_s::counter_autoflush

counter_autoflush is incremented within trap_automatic_flush_thr() after flushing buffer.

Definition at line 325 of file trap_internal.h.

◆ counter_dropped_message

uint64_t* trap_ctx_priv_s::counter_dropped_message

counter_dropped_message is incremented within trap_ctx_send().

Definition at line 313 of file trap_internal.h.

◆ counter_recv_buffer

uint64_t* trap_ctx_priv_s::counter_recv_buffer

counter_recv_buffer is incremented within trap_read_from_buffer() after successful receiving buffer.

Definition at line 329 of file trap_internal.h.

◆ counter_recv_delay_last

uint64_t* trap_ctx_priv_s::counter_recv_delay_last

counter_recv_delay_last represents time interval between last two recv() calls (in microseconds).

Definition at line 333 of file trap_internal.h.

◆ counter_recv_delay_total

uint64_t* trap_ctx_priv_s::counter_recv_delay_total

counter_recv_delay_total represents total time spent outside of recv() function (in microseconds).

Definition at line 337 of file trap_internal.h.

◆ counter_recv_message

uint64_t* trap_ctx_priv_s::counter_recv_message

counter_recv_message is incremented within trap_ctx_recv().

Definition at line 317 of file trap_internal.h.

◆ counter_send_buffer

uint64_t* trap_ctx_priv_s::counter_send_buffer

counter_send_buffer is incremented within trap_store_into_buffer() after sending buffer.

Definition at line 321 of file trap_internal.h.

◆ counter_send_message

uint64_t* trap_ctx_priv_s::counter_send_message

counter_send_message is incremented within trap_ctx_send().

Definition at line 309 of file trap_internal.h.

◆ recv_delay_timestamp

uint64_t* trap_ctx_priv_s::recv_delay_timestamp

recv_delay_timestamp is used to determine the time that has elapsed between last two recv() calls

Definition at line 341 of file trap_internal.h.