Macros | Functions | Variables
sparse_randomsetter.cpp File Reference
#include <map>
#include <ext/hash_map>
#include <google/dense_hash_map>
#include <google/sparse_hash_map>
#include "BenchSparseUtil.h"
Include dependency graph for sparse_randomsetter.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 NOGMM
 
#define NOMTL
 
#define REPEAT   1
 
#define SIZE   10000
 

Functions

template<typename SetterType >
void dostuff (const char *name, EigenSparseMatrix &sm1)
 
int main (int argc, char *argv[])
 

Variables

static double nentries
 
static double rtime
 

Macro Definition Documentation

#define BENCH (   X)
Value:
for (int _j=0; _j<NBTRIES; ++_j) { \
for (int _k=0; _k<REPEAT; ++_k) { \
X \
} timer.stop(); }
for(size_t i=1;i< poses.size();++i)
#define NBTRIES
#define REPEAT
#define X
Definition: icosphere.cpp:20
static BenchTimer timer

Definition at line 32 of file sparse_randomsetter.cpp.

#define DENSITY   0.01

Definition at line 15 of file sparse_randomsetter.cpp.

#define MINDENSITY   0.0004

Definition at line 25 of file sparse_randomsetter.cpp.

#define NBTRIES   10

Definition at line 29 of file sparse_randomsetter.cpp.

#define NOGMM

Definition at line 2 of file sparse_randomsetter.cpp.

#define NOMTL

Definition at line 3 of file sparse_randomsetter.cpp.

#define REPEAT   1

Definition at line 19 of file sparse_randomsetter.cpp.

#define SIZE   10000

Definition at line 11 of file sparse_randomsetter.cpp.

Function Documentation

template<typename SetterType >
void dostuff ( const char *  name,
EigenSparseMatrix sm1 
)

Definition at line 45 of file sparse_randomsetter.cpp.

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

Definition at line 65 of file sparse_randomsetter.cpp.

Variable Documentation

double nentries
static

Definition at line 42 of file sparse_randomsetter.cpp.

double rtime
static

Definition at line 41 of file sparse_randomsetter.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:40