#include <unistd.h>
#include <Eigen/Core>
Go to the source code of this file.
|
| | Eigen |
| | Namespace containing all symbols from the Eigen library.
|
| |
◆ BENCH
| #define BENCH |
( |
|
TIMER, |
|
|
|
TRIES, |
|
|
|
REP, |
|
|
|
CODE |
|
) |
| |
Value: { \
TIMER.reset(); \
for (
int uglyvarname1 = 0; uglyvarname1 <
TRIES; ++uglyvarname1) { \
TIMER.start(); \
for (int uglyvarname2 = 0; uglyvarname2 < REP; ++uglyvarname2) { \
CODE; \
} \
TIMER.stop(); \
clobber(); \
} \
}
#define TRIES
Definition: bench_reverse.cpp:12
◆ clobber()
37 #if EIGEN_COMP_GNUC || EIGEN_COMP_CLANG
38 asm volatile(
"" : : :
"memory");
◆ escape()
| static void escape |
( |
void * |
p | ) |
|
|
static |