|
RandomLib
1.10
|
Timing RandomLib. More...
#include <iostream>#include <iomanip>#include <vector>#include <string>#include <ctime>#include <sys/time.h>#include <RandomLib/Random.hpp>#include <RandomLib/NormalDistribution.hpp>#include <RandomLib/RandomSelect.hpp>Go to the source code of this file.
Macros | |
| #define | TIME(expr, esttime) |
Functions | |
| double | HighPrecMult () |
| long long | HighPrecTime () |
| template<typename Random > | |
| void | Time (Random &r) |
| int | main (int, char **) |
Timing RandomLib.
Compile/link with, e.g.,
g++ -I../include -O2 -funroll-loops -o RandomTime RandomTime.cpp ../src/Random.cpp
./RandomTime
See Timing results, for more information.
Copyright (c) Charles Karney (2006-2011) charles@karney.com and licensed under the MIT/X11 License. For more information, see http://randomlib.sourceforge.net/
Definition in file RandomTime.cpp.
| #define TIME | ( | expr, | |
| esttime | |||
| ) |
Definition at line 63 of file RandomTime.cpp.
Referenced by Time().
| double HighPrecMult | ( | ) |
Definition at line 37 of file RandomTime.cpp.
| long long HighPrecTime | ( | ) |
Definition at line 46 of file RandomTime.cpp.
| void Time | ( | Random & | r | ) |
Definition at line 89 of file RandomTime.cpp.
References TIME.
| int main | ( | int | , |
| char ** | |||
| ) |
Definition at line 173 of file RandomTime.cpp.
1.8.6