#include "pinocchio/multibody/model.hpp"
#include "pinocchio/multibody/data.hpp"
#include "pinocchio/multibody/sample-models.hpp"
#include "pinocchio/parsers/urdf.hpp"
#include <boost/optional.hpp>
#include <boost/none.hpp>
#include <benchmark/benchmark.h>
#include <Eigen/Core>
#include <iostream>
Go to the source code of this file.
◆ PINOCCHIO_BENCHMARK_MAIN
◆ PINOCCHIO_BENCHMARK_MAIN_WITH_SETUP
#define PINOCCHIO_BENCHMARK_MAIN_WITH_SETUP |
( |
|
GLOBAL_SETUP | ) |
|
Value:
int
main(
int argc,
char ** argv) \
{ \
char arg0_default[] = "benchmark"; \
char * args_default = arg0_default; \
if (!argv) \
{ \
argc = 1; \
argv = &args_default; \
} \
::benchmark::Initialize(&argc, argv); \
\
\
\
if (!extra_args) \
{ \
return 1; \
} \
GLOBAL_SETUP(*extra_args); \
\
::benchmark ::RunSpecifiedBenchmarks(); \
::benchmark ::Shutdown(); \
return 0; \
} \
Definition at line 126 of file model-fixture.hpp.
◆ parseExtraArgs()
boost::optional<ExtraArgs> parseExtraArgs |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
inline |