Skip to content

Commit

Permalink
remove sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
richagadgil committed Oct 8, 2024
1 parent 7b053e2 commit ac26370
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ void program::perf_report(
this->finish();
}));
}
dump_vector_to_csv(total_vec, "perf_output.csv");
std::sort(total_vec.begin(), total_vec.end());
std::unordered_map<instruction_ref, std::vector<double>> ins_vec;
// Fill the map
Expand Down Expand Up @@ -972,9 +973,6 @@ void program::perf_report(
{
overhead_vec.push_back(time<milliseconds>([&] { dry_run(params); }));
}

dump_vector_to_csv(total_vec, "perf_output.csv");

double total_time = common_average(total_vec);
double min_time = total_vec.front();
double max_time = total_vec.back();
Expand Down

0 comments on commit ac26370

Please sign in to comment.