|
Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
|
Optional constant-work snapshot and checked cold sizing. More...
Go to the source code of this file.
Data Structures | |
| struct | nx_stream_observation_t |
| O(1) aggregate facts; free total does not imply cursor is free. More... | |
| struct | nx_stream_budget_t |
| Explicit engineering assumptions, no inferred hardware rate. More... | |
| struct | nx_stream_budget_result_t |
| Conservative declared-assumption budget; never physical evidence. More... | |
Functions | |
| nx_result_t | nx_stream_observe (const nx_stream_t *stream, nx_stream_observation_t *out) |
| Snapshot maintained metadata under one short IRQ guard. | |
| nx_result_t | nx_stream_budget_calculate (const nx_stream_budget_t *budget, nx_stream_budget_result_t *out) |
| Checked cold calculation, no stream mutation or allocation. | |
Optional constant-work snapshot and checked cold sizing.
Definition in file stream_budget.h.
| nx_result_t nx_stream_budget_calculate | ( | const nx_stream_budget_t * | budget, |
| nx_stream_budget_result_t * | out ) |
Checked cold calculation, no stream mutation or allocation.
| [in] | budget | Explicit rate, longest release delay and pipeline. |
| [out] | out | Distinct output, unchanged on error or overflow. |
| nx_result_t nx_stream_observe | ( | const nx_stream_t * | stream, |
| nx_stream_observation_t * | out ) |
Snapshot maintained metadata under one short IRQ guard.
| [in] | stream | Live initialized storage, no concurrent destruction. |
| [out] | out | Distinct output, unchanged on rejected metadata/alias. |