Macros | Functions
bench/sparse_product.cpp File Reference
#include <typeinfo>
#include <algorithm>
#include "BenchTimer.h"
#include "BenchUtil.h"
#include "BenchSparseUtil.h"
Include dependency graph for bench/sparse_product.cpp:

Go to the source code of this file.

Macros

#define BENCH(X)
 
#define NBTRIES   1
 
#define NNZPERCOL   6
 
#define REPEAT   1
 
#define SIZE   1000000
 

Functions

void bench_sort ()
 
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 30 of file bench/sparse_product.cpp.

◆ NBTRIES

#define NBTRIES   1

Definition at line 27 of file bench/sparse_product.cpp.

◆ NNZPERCOL

#define NNZPERCOL   6

Definition at line 14 of file bench/sparse_product.cpp.

◆ REPEAT

#define REPEAT   1

Definition at line 18 of file bench/sparse_product.cpp.

◆ SIZE

#define SIZE   1000000

Definition at line 10 of file bench/sparse_product.cpp.

Function Documentation

◆ bench_sort()

void bench_sort ( )

◆ main()

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

Definition at line 96 of file bench/sparse_product.cpp.

REPEAT
#define REPEAT
Definition: bench/sparse_product.cpp:18
timer
static BenchTimer timer
Definition: benchmark-blocking-sizes.cpp:31
Eigen::BenchTimer::reset
void reset()
Definition: BenchTimer.h:75
NBTRIES
#define NBTRIES
Definition: bench/sparse_product.cpp:27
Eigen::BenchTimer::stop
void stop()
Definition: BenchTimer.h:86


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:23