linux-xiaomi-chiron/tools/virtio/linux
Rusty Russell e538ebaf78 tools/virtio: make vringh_test use inbuf/outbuf.
As expected, the simplified accessors are faster.

for i in `seq 50`; do /usr/bin/time -f 'Wall time:%e' ./vringh_test --indirect --eventidx --parallel --fast-vringh; done 2>&1 | stats --trim-outliers:

Before:
	Using CPUS 0 and 3
	Guest: notified 0, pinged 39062-39063(39063)
	Host: notified 39062-39063(39063), pinged 0
	Wall time:1.760000-2.220000(1.789167)

After:
	Using CPUS 0 and 3
	Guest: notified 0, pinged 39037-39063(39062)
	Host: notified 39037-39063(39062), pinged 0
	Wall time:1.640000-1.810000(1.676875)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2013-03-20 15:44:53 +10:30
..
bug.h
device.h
err.h
export.h
hrtimer.h
irqreturn.h
kernel.h
module.h
printk.h
ratelimit.h
scatterlist.h virtio_ring: virtqueue_add_sgs, to add multiple sgs. 2013-03-20 15:43:29 +10:30
slab.h
types.h
uaccess.h
uio.h tools/virtio: add vring_test. 2013-03-20 14:06:04 +10:30
virtio.h tools/virtio: make vringh_test use inbuf/outbuf. 2013-03-20 15:44:53 +10:30
virtio_config.h
virtio_ring.h
vringh.h