xapian-core  1.4.20
Macros | Functions
scalability.h File Reference

Test how an operation scales. More...

+ This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Test how an operation scales.

Definition in file scalability.h.

Macro Definition Documentation

◆ O_N

#define O_N   14.1

Definition at line 32 of file scalability.h.

Referenced by DEFINE_TESTCASE().

◆ O_N_LOG_N

#define O_N_LOG_N   44.7

Definition at line 33 of file scalability.h.

Referenced by DEFINE_TESTCASE().

Function Documentation

◆ test_scalability()

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().