OpenCloudOS-Kernel/tools/virtio/ringtest
Jonathan Neuschäfer d63031bb0f tools/virtio/ringtest: Remove bogus definition of BUG_ON()
BUG_ON(x) should raise an error if x is true, but assert(x) raises an
error if x is false. Remove this bogus definition of BUG_ON(), which
isn't used anyway.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-05-12 13:11:35 -04:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
README tools/virtio/ringtest: add usage example to README 2016-06-06 13:00:11 +03:00
main.c ringtest: support test specific parameters 2017-05-09 16:43:23 +03:00
main.h tools/virtio: fix smp_mb on x86 2018-01-29 12:02:55 -05:00
noring.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ptr_ring.c tools/virtio/ringtest: Remove bogus definition of BUG_ON() 2019-05-12 13:11:35 -04:00
ring.c ringtest: ring.c malloc & memset to calloc 2018-02-01 16:26:46 +02:00
run-on-all.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio_ring_0_9.c virtio/ringtest: virtio_ring: fix up need_event math 2018-01-31 01:47:36 +02:00
virtio_ring_inorder.c virtio: add inorder option 2016-05-22 19:44:12 +03:00
virtio_ring_poll.c

README

Partial implementation of various ring layouts, useful to tune virtio design.
Uses shared memory heavily.

Typical use:

# sh run-on-all.sh perf stat -r 10 --log-fd 1 -- ./ring