xapian-core  1.4.20
Functions
scalability.cc File Reference

Test how an operation scales. More...

#include <config.h>
#include "scalability.h"
#include "cputimer.h"
#include "testsuite.h"
+ Include dependency graph for scalability.cc:

Go to the source code of this file.

Functions

void test_scalability (double(*func)(unsigned), unsigned n, double threshold)
 

Detailed Description

Test how an operation scales.

Definition in file scalability.cc.

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