xapian-core
1.4.26
|
Test how an operation scales. More...
Go to the source code of this file.
Macros | |
#define | O_N 14.1 |
#define | O_N_LOG_N 44.7 |
Functions | |
void | test_scalability (double(*func)(unsigned), unsigned n, double threshold) |
Test how an operation scales.
Definition in file scalability.h.
#define O_N 14.1 |
Definition at line 32 of file scalability.h.
Referenced by DEFINE_TESTCASE().
#define O_N_LOG_N 44.7 |
Definition at line 33 of file scalability.h.
Referenced by DEFINE_TESTCASE().
void test_scalability | ( | double(*)(unsigned) | func, |
unsigned | n, | ||
double | threshold | ||
) |
Definition at line 29 of file scalability.cc.
References SKIP_TEST, TEST_REL, and tout.
Referenced by DEFINE_TESTCASE().