#include <iostream>
#include "BenchUtil.h"
#include "basicbenchmark.h"
Go to the source code of this file.
◆ _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) \
<< " ";
◆ MODES
#define MODES ((3d)(3)(4000000)) ((4d)(4)(1000000)) ((Xd)(4)(1000000)) ((Xd)(20)(10000)) |
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |