skip to content
==> README.md <==
1# @ajax/mesh-load-text
2
3The control port's load request: this machine's load and every program's, as key value lines.
4
5The control port's `load` request (load.rs `text`): this machine's load (GPU share, CPUs by class, PSI, memory, meshd, the CPU executors, disk, thermal) and each loaded program's, as `key value` lines, read from the host status block the load sampler fills.
6
7```c
8#include "mesh/load_text.h"
9```
10
11## Ported from
12
13[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/load.rs: `text`.
14
15## Tests
16
17- `tests/load_text.c`: the text of an empty sample, and of a machine (GPU share, cores, PSI) and a wasm program with figures.
18
19## Licence
20
21MIT. See the repository's LICENSE.