|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Counting shim around an ra8_vsource_read_fn. More...
#include <sweep_block_internal.h>
Data Fields | |
| ra8_vsource_read_fn | inner |
| Wrapped reader. | |
| void * | inner_ctx |
| Context for inner. | |
| uint64_t | calls |
| Read calls forwarded so far. | |
| uint64_t | bytes |
| Bytes served through the shim. | |
Counting shim around an ra8_vsource_read_fn.
Forwards to inner and tallies calls + bytes. One instance sits at the vsource seam (counting storage commands = cache misses); the RBKC backend nests a second one under its container file to count raw compressed bytes.
Definition at line 143 of file sweep_block_internal.h.
| uint64_t cbs_meter_t::bytes |
Bytes served through the shim.
Definition at line 147 of file sweep_block_internal.h.
Referenced by internal_run_block(), and priv_meter_read().
| uint64_t cbs_meter_t::calls |
Read calls forwarded so far.
Definition at line 146 of file sweep_block_internal.h.
Referenced by internal_run_block(), and priv_meter_read().
| ra8_vsource_read_fn cbs_meter_t::inner |
Wrapped reader.
Definition at line 144 of file sweep_block_internal.h.
Referenced by priv_meter_read().
| void* cbs_meter_t::inner_ctx |
Context for inner.
Definition at line 145 of file sweep_block_internal.h.
Referenced by priv_meter_read().