Various general useful macros for IMP. More...
Include dependency graph for benchmark_macros.h:Go to the source code of this file.
Macros | |
| #define | IMP_TIME(block, timev) |
| Time the given command and assign the time of one iteration to the variable. | |
| #define | IMP_TIME_N(block, timev, N) |
| Time the given command and assign the time of one iteration to the variable. | |
| #define | IMP_WALLTIME(block, timev) |
| Time the given command and assign the time of one iteration to the variable. | |
| #define IMP_TIME | ( | block, | |
| timev | |||
| ) |
Time the given command and assign the time of one iteration to the variable.
The units for the time are in seconds. See also IMP_TIME_N
| #define IMP_TIME_N | ( | block, | |
| timev, | |||
| N | |||
| ) |
Time the given command and assign the time of one iteration to the variable.
The units for the time are in seconds. The bit of code is run exact N times. See also IMP_TIME
| #define IMP_WALLTIME | ( | block, | |
| timev | |||
| ) |
Time the given command and assign the time of one iteration to the variable.
The units for the time are in seconds. See also IMP_TIME_N