#include "BenchSparseUtil.h"
Go to the source code of this file.
Defines | |
#define | BENCH(X) |
#define | DENSITY 0.01 |
#define | MINDENSITY 0.0004 |
#define | NBTRIES 10 |
#define | REPEAT 1 |
#define | SIZE 10000 |
Typedefs | |
typedef SparseMatrix< Scalar, UpperTriangular > | EigenSparseTriMatrix |
typedef SparseMatrix< Scalar, RowMajorBit|UpperTriangular > | EigenSparseTriMatrixRow |
Functions | |
void | fillMatrix (float density, int rows, int cols, EigenSparseTriMatrix &dst) |
int | main (int argc, char *argv[]) |
timer.reset(); \ for (int _j=0; _j<NBTRIES; ++_j) { \ timer.start(); \ for (int _k=0; _k<REPEAT; ++_k) { \ X \ } timer.stop(); }
Definition at line 29 of file sparse_trisolver.cpp.
#define DENSITY 0.01 |
Definition at line 12 of file sparse_trisolver.cpp.
#define MINDENSITY 0.0004 |
Definition at line 22 of file sparse_trisolver.cpp.
#define NBTRIES 10 |
Definition at line 26 of file sparse_trisolver.cpp.
#define REPEAT 1 |
Definition at line 16 of file sparse_trisolver.cpp.
#define SIZE 10000 |
Definition at line 8 of file sparse_trisolver.cpp.
Definition at line 37 of file sparse_trisolver.cpp.
Definition at line 38 of file sparse_trisolver.cpp.
void fillMatrix | ( | float | density, |
int | rows, | ||
int | cols, | ||
EigenSparseTriMatrix & | dst | ||
) |
Definition at line 40 of file sparse_trisolver.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 56 of file sparse_trisolver.cpp.