| 23 | } |
| 24 | |
| 25 | static void __noinline evaluateCallback(const char* name, TestCallback callback, int testParam) |
| 26 | { |
| 27 | timer.start(); |
| 28 | for(unsigned i = 0; i < ITERATIONS; ++i) { |
| 29 | callback(testParam); |
| 30 | } |
| 31 | unsigned ticks = timer.elapsedTicks(); |
| 32 | printTime(name, ticks / ITERATIONS); |
| 33 | } |
| 34 | |
| 35 | static void __noinline evaluateDelegate(const char* name, TestDelegate delegate, int testParam) |
| 36 | { |
nothing calls this directly
no test coverage detected