CppAD: A C++ Algorithmic Differentiation Package  20130102
template<class Test >
double 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.
Parameters:
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 209 of file time_test.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines