Skip to content

Commit ad03734

Browse files
Fix CSV indentation
1 parent 428b758 commit ad03734

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

GPU/GPUTracking/Base/GPUReconstructionCPU.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,14 @@ namespace {
259259
//stream << std::format("{0},{1},{2},{3:.0f},{4:.0f},{5:.2f},{6:.0f},{7:.3f},{8},{9}\n", type, count, name, kernel_time * scale, cpu_time * scale, cpu_time / total_time, total_time * scale, memSize / kernel_time * 1e-9, memSize / statNEvents, memSize / statNEvents / count);
260260
stream << type << ",";
261261
if (count != 0) stream << count;
262-
stream << "," << std::format("{:43}", name) << "," << std::format("{:15.0f}", kernel_time * scale) << ",";
263-
if (cpu_time != -1.0) stream << std::format("{:15.0f}", cpu_time * scale);
262+
stream << "," << name << "," << std::format("{:.0f}", kernel_time * scale) << ",";
263+
if (cpu_time != -1.0) stream << std::format("{:.0f}", cpu_time * scale);
264264
stream << ",";
265-
if (cpu_time != -1.0 && total_time != -1.0) stream << std::format("{:15.2f}", cpu_time / total_time);
265+
if (cpu_time != -1.0 && total_time != -1.0) stream << std::format("{:.2f}", cpu_time / total_time);
266266
stream << ",";
267-
if (total_time != -1.0) stream << std::format("{:15.0f}", total_time * scale);
267+
if (total_time != -1.0) stream << std::format("{:.0f}", total_time * scale);
268268
stream << ",";
269-
if (memSize != 0 && count != 0) stream << std::format("{:15.3f}", memSize / kernel_time * 1e-9) << "," << memSize / statNEvents << "," << memSize / statNEvents / count;
269+
if (memSize != 0 && count != 0) stream << std::format("{:.3f}", memSize / kernel_time * 1e-9) << "," << memSize / statNEvents << "," << memSize / statNEvents / count;
270270
else stream << ",,";
271271
stream << std::endl;
272272
}

0 commit comments

Comments
 (0)