From f905ee77eb069824dbffa3cb7018ab55c1c22b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20F=C3=BCrst?= Date: Mon, 29 Jan 2024 14:29:37 +0100 Subject: [PATCH] wait less for task launch and dont write iterations complete out --- benchmarks/benchmark.hpp | 3 +-- benchmarks/util/task-data.hpp | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/benchmarks/benchmark.hpp b/benchmarks/benchmark.hpp index 177d0ba..73d7ef3 100644 --- a/benchmarks/benchmark.hpp +++ b/benchmarks/benchmark.hpp @@ -38,7 +38,6 @@ void* thread_function(void* argp) { std::memset(dst, 0, args->size); args->status = dml::status_code::ok; - args->rep_completed = 0; LAUNCH_.wait(); @@ -107,7 +106,7 @@ std::vector execute_dml_memcpy(std::vector& args, const uint } using namespace std::chrono_literals; - std::this_thread::sleep_for(1000ms); + std::this_thread::sleep_for(100ms); const auto time_start = std::chrono::steady_clock::now(); diff --git a/benchmarks/util/task-data.hpp b/benchmarks/util/task-data.hpp index 91216bd..1ecba08 100644 --- a/benchmarks/util/task-data.hpp +++ b/benchmarks/util/task-data.hpp @@ -28,7 +28,6 @@ inline void to_json(nlohmann::json& j, const TaskData& a) { j["affinity"]["node"] = a.numa_node; j["affinity"]["nnode_src"] = a.nnode_src; j["affinity"]["nnode_dst"] = a.nnode_dst; - j["report"]["iterations_completed"] = a.rep_completed; j["report"]["status"] = StatusCodeToString(a.status); }