#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(); \
} \
}
Definition at line 174 of file BenchTimer.h.
◆ clobber()
◆ escape()
static void escape |
( |
void * |
p | ) |
|
|
static |