static void perf_yield(void)

{

    unsigned int i, maxcycles;

    double duration;



    maxcycles = 100000000;

    i = maxcycles;

    Coroutine *coroutine = qemu_coroutine_create(yield_loop);



    g_test_timer_start();

    while (i > 0) {

        qemu_coroutine_enter(coroutine, &i);

    }

    duration = g_test_timer_elapsed();



    g_test_message("Yield %u iterations: %f s\n",

        maxcycles, duration);

}

static void perf_yield(void)

{

    unsigned int i, maxcycles;

    double duration;



    maxcycles = 100000000;

    i = maxcycles;

    Coroutine *coroutine = qemu_coroutine_create(yield_loop);



    g_test_timer_start();

    while (i > 0) {

        qemu_coroutine_enter(coroutine, &i);

    }

    duration = g_test_timer_elapsed();



    g_test_message("Yield %u iterations: %f s\n",

        maxcycles, duration);

}

    Coroutine *coroutine = qemu_coroutine_create(yield_loop);         qemu_coroutine_enter(coroutine, &i);
static void FUNC_0(void)

{

    unsigned int VAR_0, VAR_1;

    double VAR_2;



    VAR_1 = 100000000;

    VAR_0 = VAR_1;

    Coroutine *coroutine = qemu_coroutine_create(yield_loop);



    g_test_timer_start();

    while (VAR_0 > 0) {

        qemu_coroutine_enter(coroutine, &VAR_0);

    }

    VAR_2 = g_test_timer_elapsed();



    g_test_message("Yield %u iterations: %f s\n",

        VAR_1, VAR_2);

}

static void FUNC_0(void)
{ unsigned int VAR_0, VAR_1; double VAR_2; VAR_1 = 100000000; VAR_0 = VAR_1; Coroutine *coroutine = qemu_coroutine_create(yield_loop); g_test_timer_start(); while (VAR_0 > 0) { qemu_coroutine_enter(coroutine, &VAR_0); } VAR_2 = g_test_timer_elapsed(); g_test_message("Yield %u iterations: %f s\n",
VAR_1, VAR_2); }