diff options
author | Ming Lei <ming.lei@canonical.com> | 2014-08-13 18:08:47 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-08-20 11:51:28 +0200 |
commit | 61ff8cfbec64f08f6955fe04649665f9f7eb0cc6 (patch) | |
tree | 05aea60baf0da5d8042de030ef5bdd84f935bc08 /vmstate.c | |
parent | a1cb48a3bffdb62c429297ac7057d1ce76fc4839 (diff) |
test-coroutine: test cost introduced by coroutine
This test runs dummy function with coroutine by using
two enter and one yield since which is a common usage.
So we can see the cost introduced by corouting for running
one function, for example:
Run operation 20000000 iterations 4.841071 s, 4131K operations/s
242ns per coroutine
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'vmstate.c')
0 files changed, 0 insertions, 0 deletions