diff options
author | Gabriel Kerneis <gabriel@kerneis.info> | 2013-09-17 18:26:48 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-09-19 13:21:41 +0200 |
commit | a9031675b9f757eef0fe8c99284ec0133c032c32 (patch) | |
tree | d9d0809a1cf1c65b936b4115c5087a57341d2555 /tests/rtc-test.c | |
parent | 2fcd15eac3223b3907837e8d7f2b3829a16a4c45 (diff) |
coroutine: fix /perf/nesting coroutine benchmark
The /perf/nesting benchmark is broken because the counters are
not reset after each iteration. Therefore, nesting is done only
on the first iteration, and skipped on every other.
This patch fixes the issue, and reduces the number of iterations
to make it possible to run the benchmark in a reasonable amount of
time.
Signed-off-by: Gabriel Kerneis <gabriel@kerneis.info>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/rtc-test.c')
0 files changed, 0 insertions, 0 deletions