CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Test >
double CppAD::time_test ( Test  test,
double  time_min,
size_t  test_size 

Preform one wall clock execution timing test.

Template Parameters
TestEither the type void (*)(size_t, size_t) or a function object type that supports the same syntax.
testThe function, or function object, that supports the operation test(size, repeat) where is the size for this test and repeat is the number of times to repeat the tests operaiton that is being timed.
time_minis the minimum amount of time that test should take to preform the repetitions of the operation being timed.
test_sizewill be used for the value of size in the call to test.

Definition at line 212 of file time_test.hpp.