Macros | Functions
basicbenchmark.cpp File Reference
#include <iostream>
#include "BenchUtil.h"
#include "basicbenchmark.h"
Include dependency graph for basicbenchmark.cpp:

Go to the source code of this file.

Macros

#define _GENERATE_HEADER(R, ARG, EL)
 
#define _RUN_BENCH(R, ARG, EL)
 
#define MODES   ((3d)(3)(4000000)) ((4d)(4)(1000000)) ((Xd)(4)(1000000)) ((Xd)(20)(10000))
 

Functions

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

Macro Definition Documentation

◆ _GENERATE_HEADER

#define _GENERATE_HEADER (   R,
  ARG,
  EL 
)
Value:
<< BOOST_PP_STRINGIZE(BOOST_PP_SEQ_HEAD(EL)) << "-" \
<< BOOST_PP_STRINGIZE(BOOST_PP_SEQ_ELEM(1,EL)) << "x" \
<< BOOST_PP_STRINGIZE(BOOST_PP_SEQ_ELEM(1,EL)) << " / "

◆ _RUN_BENCH

#define _RUN_BENCH (   R,
  ARG,
  EL 
)
Value:
std::cout << ARG( \
BOOST_PP_CAT(Matrix, BOOST_PP_SEQ_HEAD(EL)) (\
BOOST_PP_SEQ_ELEM(1,EL),BOOST_PP_SEQ_ELEM(1,EL)), BOOST_PP_SEQ_ELEM(2,EL), tries) \
<< " ";
The matrix class, also used for vectors and row-vectors.

◆ MODES

#define MODES   ((3d)(3)(4000000)) ((4d)(4)(1000000)) ((Xd)(4)(1000000)) ((Xd)(20)(10000))

Function Documentation

◆ main()

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

Definition at line 6 of file basicbenchmark.cpp.



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