Latch the COUNTED state-array footprint for the enter_data
reconciliation, WITHOUT logging. Must run before
mem_log_device_actuals (the reconciliation reads this), even
when the human-readable budget is printed later (e.g. folded into
the driver’s post-setup banner). total_bytes is the sum of
every state bytes() term (0 for gated-off slots).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | total_bytes |
subroutine mem_set_counted_budget(total_bytes) !! Latch the COUNTED state-array footprint for the `enter_data` !! reconciliation, WITHOUT logging. Must run before !! `mem_log_device_actuals` (the reconciliation reads this), even !! when the human-readable budget is printed later (e.g. folded into !! the driver's post-setup banner). `total_bytes` is the sum of !! every state `bytes()` term (0 for gated-off slots). integer(int64), intent(in) :: total_bytes counted_state_bytes = total_bytes end subroutine mem_set_counted_budget