blinktree: Fixed compiler errors.

This commit is contained in:
Michael Müller
2022-07-20 18:15:40 +02:00
parent fc7bdd97e0
commit bfcf897893
3 changed files with 6 additions and 7 deletions

View File

@@ -61,10 +61,10 @@ public:
_scheduled_tasks_on_core(std::move(scheduled_tasks_on_core)),
_scheduled_tasks_off_core(std::move(scheduled_tasks_off_core)), _worker_fills(std::move(worker_fills))
{
for (auto &c : counter)
/*for (auto &c : counter)
{
_performance_counter.emplace_back(std::make_pair(c.name(), c.read()));
}
}*/
}
~InterimResult() = default;
@@ -192,7 +192,7 @@ public:
_current_iteration,
_core_set.size(),
milliseconds,
_perf.counter(),
//_perf.counter(),
statistic_map(mx::tasking::profiling::Statistic::Executed),
statistic_map(mx::tasking::profiling::Statistic::ExecutedReader),
statistic_map(mx::tasking::profiling::Statistic::ExecutedWriter),

View File

@@ -2,7 +2,7 @@
#include <argparse.hpp>
#include <benchmark/cores.h>
#include <mx/system/environment.h>
#include <mx/system/thread.h>
//#include <mx/system/thread.h>
#include <mx/tasking/runtime.h>
#include <mx/util/core_set.h>
#include <tuple>
@@ -29,7 +29,6 @@ std::tuple<Benchmark *, std::uint16_t, bool> create_benchmark(int count_argument
*/
int main(int count_arguments, char **arguments)
{
int count_arguments =
if (mx::system::Environment::is_numa_balancing_enabled())
{
std::cout << "[Warn] NUMA balancing may be enabled, set '/proc/sys/kernel/numa_balancing' to '0'" << std::endl;

View File

@@ -1,4 +1,4 @@
INC_DIR=$(REP_DIR)/src/app/blinktree
MXINC_DIR=$(REP_DIR)/src/app/blinktree
TARGET = blinktree
# soure file for benchmark framework
@@ -13,5 +13,5 @@ SRC_BTREE += blinktree_benchmark/benchmark.cpp
SRC_CC = ${SRC_MXBENCH} ${SRC_BTREE}
LIBS += base libc stdcxx mxtasking
CC_OPT += -Wno-error -fno-aligned-new -I$(INC_DIR)
CC_OPT += -Wno-error -fno-aligned-new -I$(MXINC_DIR)
CC_CXX_WARN_STRICT =