#include #include "bench.h" volatile bool done = false; thread Fibre {}; void main(__attribute__((unused)) Fibre & this) { while(!done) { yield(); } } int main(int argc, char* argv[]) { Fibre f1; BENCH( for ( i; n ) { yield(); }, result ) printf("%g\n", result); done = true; return 0; }