skip to content
==> README.md <==
1# @ajax/mesh-load-share
2
3The GPU share maths of the load sampler: node load record deltas, share, slices, gaps, and nearest-rank quantiles.
4
5The GPU share a program's nodes obtained (load.rs Nl, Share, share, quantile): from the node load records' counters (mesh-abi NL_*: time observed, time lost to someone else, gaps, queue delay), summed over a program's nodes and over a window of samples.
6
7```c
8#include "mesh/load_share.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: `Nl` (delta, add), `Share`, `share`, `quantile`.
14
15## Tests
16
17- `tests/load_share.c`: load.rs's `gpu_share_maths`.
18
19## Differences
20
21- `Nl::read` (from the mailbox) lives with the program sampler.
22
23## Licence
24
25MIT. See the repository's LICENSE.