#include <rw/rwtest/perf/RWQEPerfTest.h>
Prototype for a performance test object. Performance test objects must implement this API, however they are not required to derive from RWQEPerfTest.
void RWQEPerfTest::destroy |
( |
| ) |
|
|
inline |
Called once after executing the outer test loop.
Called once before executing the outer test loop.
uint64_t RWQEPerfTest::run |
( |
void |
| ) |
|
|
inline |
The operation that will be timed. This function will be invoked multiple times, once for each iteration (both during warmup iterations and timed iterations). This function returns the number of times it executed the code, the performance of which is to be measured.
void RWQEPerfTest::setup |
( |
| ) |
|
|
inline |
Called once for each execution of the inner test loop.
void RWQEPerfTest::teardown |
( |
| ) |
|
|
inline |
Called once for each execution of the inner test loop.