linux-stable/tools/virtio/ringtest
Paolo Bonzini 44d65ea161 ringtest: use link-time optimization
By using -flto and -fwhole-program, all functions from the ring implementation
can be treated as static and possibly inlined.  Force this to happen through
the GCC flatten attribute.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-10-31 00:21:42 +02:00
..
main.c ringtest: use link-time optimization 2016-10-31 00:21:42 +02:00
main.h
Makefile ringtest: use link-time optimization 2016-10-31 00:21:42 +02:00
noring.c tools/virtio: add noring tool 2016-06-06 13:00:11 +03:00
ptr_ring.c ringtest: test build fix 2016-08-15 05:01:23 +03:00
README tools/virtio/ringtest: add usage example to README 2016-06-06 13:00:11 +03:00
ring.c
run-on-all.sh tools/virtio/ringtest: fix run-on-all.sh to work without /dev/cpu 2016-06-06 13:00:11 +03:00
virtio_ring_0_9.c
virtio_ring_inorder.c
virtio_ring_poll.c

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