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:
for (int _j=0; _j<NBTRIES; ++_j) { \
timer.start(); \
for (int _k=0; _k<REPEAT; ++_k) { \
X \
} timer.stop(); }
#define REPEAT
#define NBTRIES
static BenchTimer timer

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.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:54