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



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