skip to content
==> README.md <==
1# @ajax/mesh-sched-member
2
3One fleet member as the scheduler sees it (`msm_member`): its capabilities from F_JOIN, its CPUs,
4RAM, view heap, link RTTs and failures from F_PERF, and its live load from F_LOADREP; and a program's
5measured performance on a member (`msm_perf`), in a map sorted by (program, member) as the Rust's
6`BTreeMap<(String, u32), Perf>` is.
7
8`mof32` is Rust's `Option<f32>`. Host, executor and architecture are fixed-size strings (64, 32 and
932 bytes): the wire gives at most 32, 32 and 16.
10
11## Ported from
12
13[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) `crates/mesh-host/src/sched.rs`:
14`Member` (`executors`, `exec_for`, `rtt_to`) and `Perf`.
15
16## Tests
17
18`tests/member.c`; the scheduler's tests (`@ajax/mesh-sched-place`) exercise it throughout.
19
20## Licence
21
22MIT. See the repository's LICENSE.