libmizu 0.2.0
Lock-free shared-memory IPC at thread speed in C11
Loading...
Searching...
No Matches
mizu_channel_info_s Struct Reference

Handle-local + wire-state snapshot. More...

#include <mizu.h>

Data Fields

uint32_t size
const char * name
int32_t side
 MIZU_ENTITY_HOST / MIZU_ENTITY_PEER.
uint32_t capacity
uint32_t slot_size
uint64_t arena_size
uint64_t inline_max
int32_t spin
int32_t ready
int32_t closed
int64_t peer_pid
uint64_t tx_sent
uint64_t tx_published
uint64_t tx_consumed
uint64_t rx_consumed
uint64_t rx_published
uint64_t fl_entries
uint64_t fl_hits
 process-local
uint64_t open_hits
uint64_t open_misses
 process-local
uint64_t ledger_entries
 process-local
uint64_t zc_open_hits
uint64_t zc_open_misses
 binding-owned view cache; the core fills 0
uint64_t notify_sends
 process-local: notify endpoint signals sent (armed peers only)

Detailed Description

Handle-local + wire-state snapshot.

The caller stamps size = sizeof(mizu_channel_info) before the call (info_get refuses a mismatch with MIZU_ERR: the stamp versions the struct, as the options' does). name is borrowed. Counters are process-local where noted.


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