1# @ajax/mesh-load-share
23The GPU share maths of the load sampler: node load record deltas, share, slices, gaps, and nearest-rank quantiles.
45The 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.
67```c
8#include "mesh/load_share.h"
9```
1011## Ported from
1213[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`.
1415## Tests
1617- `tests/load_share.c`: load.rs's `gpu_share_maths`.
1819## Differences
2021- `Nl::read` (from the mailbox) lives with the program sampler.
2223## Licence
2425MIT. See the repository's LICENSE.