From 89e6ab9c37d14e2279e59161cf11259d208d2f49 Mon Sep 17 00:00:00 2001 From: ewarchul Date: Sun, 10 Nov 2024 14:51:22 +0100 Subject: [PATCH] f --- .clang-format | 11 ++++------- example/runner/CMakeLists.txt | 2 +- include/cecxx/benchmark/runner.hpp | 3 ++- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.clang-format b/.clang-format index 881109f..f87aaa8 100644 --- a/.clang-format +++ b/.clang-format @@ -1,7 +1,4 @@ -Language: Cpp -ColumnLimit: 80 -BasedOnStyle: LLVM -IndentPPDirectives: AfterHash -IndentCaseLabels: false -AlwaysBreakTemplateDeclarations: false -DerivePointerAlignment: false +Language: Cpp +Standard: Cpp11 +BasedOnStyle: Google +ColumnLimit: 100 diff --git a/example/runner/CMakeLists.txt b/example/runner/CMakeLists.txt index 32f3d81..ce20560 100644 --- a/example/runner/CMakeLists.txt +++ b/example/runner/CMakeLists.txt @@ -5,5 +5,5 @@ add_compile_definitions(DATA_STORAGE_PATH="${CMAKE_SOURCE_DIR}/data") add_executable(runner_example main.cpp) target_link_libraries(runner_example PRIVATE cecxx concurrencpp::concurrencpp) set_target_properties(runner_example PROPERTIES CXX_STANDARD 23) -target_compile_options(runner_example PRIVATE -Wall -Wextra -Wpedantic -O3) +target_compile_options(runner_example PRIVATE -g -Wall -Wextra -Wpedantic -O0) diff --git a/include/cecxx/benchmark/runner.hpp b/include/cecxx/benchmark/runner.hpp index 46f720a..2cba363 100644 --- a/include/cecxx/benchmark/runner.hpp +++ b/include/cecxx/benchmark/runner.hpp @@ -37,7 +37,8 @@ struct runner { const auto tasks = create_benchmark_tasks(options_); auto trial_results = std::vector>{}; spdlog::info( - "Running benchmark with the following settings: edition [{}], thread pool size [{}], dimensions {}, trial number per " + "Running benchmark with the following settings: edition [{}], thread pool size [{}], " + "dimensions {}, trial number per " "problem [{}].", to_string(options_.edition), tpe_->max_concurrency_level(), options_.dimensions, options_.max_trials_num);