Macros | Functions
sparse_transpose.cpp File Reference
#include "BenchSparseUtil.h"
Include dependency graph for sparse_transpose.cpp:

Go to the source code of this file.

Macros

#define BENCH(X)
 
#define DENSITY   0.01
 
#define MINDENSITY   0.0004
 
#define NBTRIES   10
 
#define REPEAT   1
 
#define SIZE   10000
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ BENCH

#define BENCH (   X)
Value:
timer.reset(); \
for (int _j=0; _j<NBTRIES; ++_j) { \
timer.start(); \
for (int _k=0; _k<REPEAT; ++_k) { \
X \
} timer.stop(); }

Definition at line 28 of file sparse_transpose.cpp.

◆ DENSITY

#define DENSITY   0.01

Definition at line 11 of file sparse_transpose.cpp.

◆ MINDENSITY

#define MINDENSITY   0.0004

Definition at line 21 of file sparse_transpose.cpp.

◆ NBTRIES

#define NBTRIES   10

Definition at line 25 of file sparse_transpose.cpp.

◆ REPEAT

#define REPEAT   1

Definition at line 15 of file sparse_transpose.cpp.

◆ SIZE

#define SIZE   10000

Definition at line 7 of file sparse_transpose.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 36 of file sparse_transpose.cpp.

timer
static BenchTimer timer
Definition: benchmark-blocking-sizes.cpp:31
REPEAT
#define REPEAT
Definition: sparse_transpose.cpp:15
NBTRIES
#define NBTRIES
Definition: sparse_transpose.cpp:25
Eigen::BenchTimer::reset
void reset()
Definition: BenchTimer.h:75
Eigen::BenchTimer::stop
void stop()
Definition: BenchTimer.h:86


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:34