The entry output_measure_reader
A reader of the measure 2 of the record outputs . The test module output_measure starts it, then starts output_measure_writer with a wiring list whose rows wire samples to this record input.
It reads each record of the run in order, and checks its serial and its count. In the run of one reader, it measures the wake: for each record of the first part, which the writer writes one at a time, the cycles from the write to its read; for the burst, its wakes, as each read that finds its ring empty waits once. Each measure is printed, never asserted.
Start: by output_measure only. What a reader sees: no window; one line of measures in the run of one reader, or a line "output_measure_reader: WRONG: ...". It stops itself with the outcome Done, or Failed after a WRONG line.
output_measure_reader module with an entry
- Hash
b425843d4060b20c137a5fc43a6df1f35f6e32a5ebda57a6f1cecde250f2b15e- Size
57344 bytes- Exports
0- Imports
0- Imported by
0- License
- MIT
A reader of the measure 2 of the record outputs
| Fact | Value |
|---|---|
| Kind | Modules with an entry |
| Source | src/modules/tests/output_measure_reader |
| Boot image | yes: in the boot image, 57344 bytes in this build |
| Build settings | none: the defaults of the source |
| Imports | none |
| Imported by | none |
Neighbours
It imports no module, and no module imports it. The module graph shows it with the other modules that have no edge.
Exports
| Export | What it does |
|---|---|
entry() |
entry
entry()
- Form
- The entry of the module: one parameter, an address, fixed by the contract.
src/modules/tests/output_measure_reader/main.odin:89
Read from the source of the module, as the build reads it to describe the exports (tools/modustool/build/describe.odin).
What the root service gives it
| What | Value | As the root service says |
|---|---|---|
| Grants | none | |
| Other terms of its start grant set | none | |
| Budget that it asks for |
| No MODULE_BUDGET in its source: it asks for the least budget. |
The start grant set is read from start_grant_sets in src/modules/system/root/start_grant_sets.odin. The stated budget is read from the constant MODULE_BUDGET of the source of the module; the build adds the counted parts and writes the sum in the module (tools/modustool/build/budget_count.odin); the root service accepts it up to the largest budget of a process, and adds the limits of processor time and of log records (src/modules/system/root/budgets.odin).
