]> git.proxmox.com Git - mirror_qemu.git/commit
tests: add atomic64-bench
authorEmilio G. Cota <cota@braap.org>
Mon, 10 Sep 2018 23:27:43 +0000 (19:27 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Oct 2018 16:47:55 +0000 (18:47 +0200)
commit82fdfcbe64ec09048d5f9b430b16231b9285d54b
treebb09dc74d42db8e9dc6ec217d617ed9590243aaf
parent782da5b2921c4d18777d5d5bd9385b9f7beae360
tests: add atomic64-bench

- With CONFIG_ATOMIC64:
$ tests/atomic64-bench  -n 1
 Throughput:         310.40 Mops/s

- Without:
$ tests/atomic64-bench  -n 1
 Throughput:         149.08 Mops/s

Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <20180910232752.31565-4-cota@braap.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/Makefile.include
tests/atomic64-bench.c [new file with mode: 0644]