Macros | Functions
sparse_dense_product.cpp File Reference
#include "BenchSparseUtil.h"
Include dependency graph for sparse_dense_product.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   650000
 

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_dense_product.cpp.

◆ DENSITY

#define DENSITY   0.01

Definition at line 11 of file sparse_dense_product.cpp.

◆ MINDENSITY

#define MINDENSITY   0.0004

Definition at line 21 of file sparse_dense_product.cpp.

◆ NBTRIES

#define NBTRIES   10

Definition at line 25 of file sparse_dense_product.cpp.

◆ REPEAT

#define REPEAT   1

Definition at line 15 of file sparse_dense_product.cpp.

◆ SIZE

#define SIZE   650000

Definition at line 7 of file sparse_dense_product.cpp.

Function Documentation

◆ main()

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

Definition at line 52 of file sparse_dense_product.cpp.

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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:52