|
libmizu 0.0.1
Lock-free shared-memory IPC
|
Batch-sizing state: process-private, never wire state, reset at each run's first-call CLAIM CAS. More...
#include <mizu_ext.h>
Data Fields | |
| int32_t | run_r |
| ordinal whose ramp this is (-1 = none) | |
| uint32_t | run_gen |
| uint64_t | k |
| current batch size, morsels | |
| uint64_t | k_last |
| morsels issued last transition | |
| double | t_last |
| mizu_now() at the last issue | |
| double | cost |
| est. | |
| int | skip |
| last interval contained a help: no update | |
Batch-sizing state: process-private, never wire state, reset at each run's first-call CLAIM CAS.
The binding embeds one per map context; a doorbell help that claims a queued runner of the same map aliases it (the cost is a mis-sized batch or a re-ramp on resume — harmless).
| double mizu_morsel_sizer_s::cost |
est.
seconds per morsel (0 = unknown)