Emilio G. Cota 070e3edcea tests: add atomic_add-bench
With this microbenchmark we can measure the overhead of emulating atomic
instructions with a configurable degree of contention.

The benchmark spawns $n threads, each performing $o atomic ops (additions)
in a loop. Each atomic operation is performed on a different cache line
(assuming lines are 64b long) that is randomly selected from a range [0, $r).

[ Note: each $foo corresponds to a -foo flag ]

Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1467054136-10430-20-git-send-email-cota@braap.org>
2016-10-26 08:29:01 -07:00
..
2016-07-25 13:23:18 -05:00
2016-10-24 15:27:19 +02:00
2016-10-26 08:29:01 -07:00
2016-10-26 08:29:01 -07:00
2016-07-06 10:52:03 +02:00
2016-10-17 19:22:17 +01:00
2016-10-26 08:29:01 -07:00
2016-09-08 18:05:22 +04:00
2016-09-08 18:05:22 +04:00
2016-09-08 18:05:21 +04:00
2016-08-08 13:05:43 +02:00
2016-09-08 17:57:32 +04:00
2016-09-08 17:57:32 +04:00
2016-09-23 11:42:52 +08:00
2016-09-08 17:57:32 +04:00