]> git.proxmox.com Git - qemu.git/commit - tests/test-coroutine.c
coroutine: add qemu_coroutine_yield benchmark
authorGabriel Kerneis <gabriel@kerneis.info>
Tue, 17 Sep 2013 15:09:39 +0000 (17:09 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 19 Sep 2013 11:21:32 +0000 (13:21 +0200)
commit2fcd15eac3223b3907837e8d7f2b3829a16a4c45
tree4489ee07925144f6bb41cf4fc616f37da159deea
parent3db1ee7c2af2fbbfe259712e3ce74158bc667ad3
coroutine: add qemu_coroutine_yield benchmark

Current coroutine performance benchmarks test only coroutine creation,
either directly or in a nested way. This patch adds a benchmark to
evaluate the performance of qemu_coroutine_yield.

Signed-off-by: Gabriel Kerneis <gabriel@kerneis.info>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/test-coroutine.c