diff options
Diffstat (limited to 'tests/benchmark_examples')
-rw-r--r-- | tests/benchmark_examples/RunExample.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/benchmark_examples/RunExample.cpp b/tests/benchmark_examples/RunExample.cpp index de3e796d59..9bc0e4380a 100644 --- a/tests/benchmark_examples/RunExample.cpp +++ b/tests/benchmark_examples/RunExample.cpp @@ -46,6 +46,18 @@ using namespace arm_compute; using namespace arm_compute::test; +namespace +{ +std::string command_line(int argc, char **argv) +{ + std::stringstream ss; + for(int i = 0; i < argc; i++) + { + ss << argv[i] << " "; + } + return ss.str(); +} +} // namespace namespace arm_compute { namespace utils @@ -119,6 +131,7 @@ int run_example(int argc, char **argv, std::unique_ptr<Example> example) for(auto &p : printers) { p->print_entry("Version", build_information()); + p->print_entry("CommandLine", command_line(argc, argv)); #ifdef ARM_COMPUTE_CL if(opencl_is_available()) { |