Defines | 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.

Defines

#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

Define Documentation

#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 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.



re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:47