Expand description
Control-buffer slot layout helpers.
Constantsยง
- DONE_
COUNT - Kernel atomic-adds 1 here every time it drains a slot.
- EPOCH
- Epoch counter; host increments on each publish batch.
- METRICS_
BASE - Metrics region start. Per-opcode execution counters live here.
- METRICS_
SLOTS - Total number of tracked opcode metric slots.
- OBSERVABLE_
BASE - First observable result word; opcodes write user-visible results here.
- PRIORITY_
FAIRNESS_ BASE - Word index in
controlwhere per-priority fairness counters begin. - PRIORITY_
FAIRNESS_ SLOTS - Number of priority fairness counters reserved in the control buffer.
- PRIORITY_
OFFSETS_ BASE - Word index in
controlwhere priority partition offsets begin. - PRIORITY_
OFFSETS_ SLOTS - Number of priority partition offset words, including sentinel.
- PRIORITY_
STARVATION_ COUNTER - Starvation counter word used by the priority scheduler.
- SHUTDOWN
- Non-zero signals the kernel to exit on the next iteration.
- TENANT_
BASE - Word index in
controlwhere the tenant-mask table begins. - TENANT_
FAIRNESS_ BASE - Word index in
controlwhere the tenant fairness counters begin. - TENANT_
FAIRNESS_ SLOTS - Number of tenant fairness counters reserved in the control buffer.
- TENANT_
QUOTA_ BASE - Word index in
controlwhere the tenant quota table begins.