#include #include #include "common.h" using namespace bench; using namespace alsk::arg; constexpr unsigned samples = 50, iterations = 100; constexpr unsigned n = 100, vecSize = 100; bool test(int& c) { return --c; } void hwLoop(int& c) { while(test(c)) taskV(); } BASELINE(While, Handwritten, samples, iterations) { int count = n; hwLoop(count); }