Skip to content

Commit

Permalink
Fix a bug: initialTimeSec in the JSON output.
Browse files Browse the repository at this point in the history
  • Loading branch information
range3 committed Mar 23, 2023
1 parent 5241a9f commit 4e75d43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.14...3.22)
# Note: update this to your new project's name and version
project(
Rdbench
VERSION 0.10.1
VERSION 0.10.2
LANGUAGES CXX C
)

Expand Down
2 changes: 1 addition & 1 deletion src/rdbench/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ orderd_json calc_result(

phase_durations_json.push_back(orderd_json{phase_to_string[phase_durations[i].first], max});
}
rdbench_result["initialTimeSec"] = phase_durations_json.front();
rdbench_result["initialTimeSec"] = phase_durations_json.front()[1];
rdbench_result["finalizeTimeSec"] = nullptr;
rdbench_result["phaseDurationsSec"] = phase_durations_json;

Expand Down

0 comments on commit 4e75d43

Please # to comment.