Use C11
Add Dockerfile
Remove license-file key from Cargo.toml
A tool to measure memory latency between CPU cores.
Port of this github repo in C11.
Prerequisites:
Make with make
or meson build
.
On the command-line:
$ c2clat
CPU 0 1 2 3
0 0 63 27 63
1 63 0 63 27
2 27 63 0 63
3 63 27 63 0
Generate a heatmap with gnuplot:
$ c2clat -p | gnuplot >heatmap.png
Limit tests to a subset of cores with taskset:
$ taskset -c 1,3 c2clat
CPU 1 3
1 0 27
3 27 0
SPDX-License-Identifier: ISC