Re: [Qemu-devel] [PATCH v4 26/35] tests: add atomic_add-bench

2016-09-16 Thread Richard Henderson
On 09/16/2016 04:54 PM, Emilio G. Cota wrote: On Fri, Sep 16, 2016 at 10:46:48 -0700, Richard Henderson wrote: From: "Emilio G. Cota" With this microbenchmark we can measure the overhead of emulating atomic instructions with a configurable degree of contention. The benchmark spawns $n threads

Re: [Qemu-devel] [PATCH v4 26/35] tests: add atomic_add-bench

2016-09-16 Thread Emilio G. Cota
On Fri, Sep 16, 2016 at 10:46:48 -0700, Richard Henderson wrote: > From: "Emilio G. Cota" > > 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 (addi

[Qemu-devel] [PATCH v4 26/35] tests: add atomic_add-bench

2016-09-16 Thread Richard Henderson
From: "Emilio G. Cota" 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 lin