Skip to content

Commit 30a252c

Browse files
committed
fix outfile formatting
1 parent 16d67b6 commit 30a252c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

onnxruntime/test/perftest/performance_runner.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ void PerformanceResult::DumpToFile(const std::basic_string<ORTCHAR_T>& path, boo
6969
}
7070

7171
if (have_file) {
72-
for (size_t runs = 0; runs < time_costs_submission.size(); runs++) {
73-
outfile << model_name << "," << time_costs_submission[runs] << "," << time_costs_total[runs] << "," << peak_workingset_size << ","
72+
for (size_t runs = 0; runs < time_costs_total.size(); runs++) {
73+
outfile << model_name << "," << time_costs_total[runs] << "," << peak_workingset_size << ","
7474
<< average_CPU_usage << "," << runs << std::endl;
7575
}
7676
} else {

0 commit comments

Comments
 (0)