mem_set_counted_budget Subroutine

public 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).

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: total_bytes

Called by

proc~~mem_set_counted_budget~~CalledByGraph proc~mem_set_counted_budget mem_set_counted_budget proc~driver_run_ocean driver_run_ocean proc~driver_run_ocean->proc~mem_set_counted_budget proc~driver_run driver_run proc~driver_run->proc~driver_run_ocean

Source Code

   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