allocate on stack

This commit is contained in:
Oliver Kowalke
2014-01-25 23:41:06 +01:00
parent 8857a31281
commit 7b6bba07c0
17 changed files with 2166 additions and 2580 deletions

View File

@@ -18,6 +18,9 @@
#include "clock.hpp"
#include "cycle.hpp"
typedef boost::coroutines::protected_stack_allocator stack_allocator;
typedef boost::coroutines::coroutine< void, stack_allocator > coroutine;
boost::coroutines::flag_fpu_t preserve_fpu = boost::coroutines::fpu_not_preserved;
boost::uint64_t jobs = 1000;