as an aside, the header lib/test/microbenchmark.hpp turns out to be prolific for this kind of investigation. However, it is somewhat obnoxious that the »test subject« must expose the signature <size_t(size_t)>. Thus, with some metaprogramming magic, an generic adaptor can be built to accept a range of typical alternatives, and even the quite obvious signature void(void). Since all these will be wrapped directly into a lambda, the optimiser will remove these adaptations altogether. |
||
|---|---|---|
| .. | ||
| activity-detector-test.cpp | ||
| activity-detector.hpp | ||
| block-flow-test.cpp | ||
| scheduler-activity-test.cpp | ||
| scheduler-commutator-test.cpp | ||
| scheduler-invocation-test.cpp | ||
| scheduler-load-control-test.cpp | ||
| scheduler-service-test.cpp | ||
| scheduler-stress-test.cpp | ||
| scheduler-usage-test.cpp | ||
| work-force-test.cpp | ||