/core-latency-atomic

Core-latency benchmark with atomic compare and swap support

Primary LanguageC++

this is a copy from https://github.com/ajakubek/core-latency

main_no_cas.cpp does not have atomic compare and swap support.

I added modified the main.cpp code to support atomic compare and swap.

A simple tool for measuring latency between CPU cores.

Execute make test command to run the benchmark.

Requires Linux with a C++11 compiler (tested with gcc) and boost libraries.

Note that measured latencies are for full roundtrip between two cores. Divide them by two to get actual time needed to fetch data from another core.

Latencies are commutative so only one measument is displayed for each core pair.