From 495f3996bbd0bf9791043b3de417384d9963c046 Mon Sep 17 00:00:00 2001 From: MetanoKid Date: Fri, 26 Jun 2020 18:58:43 +0200 Subject: [PATCH] Removes raw decorated function name from Function Compilations report --- .../FunctionCompilations/FunctionCompilationsExporter.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/AnalysisExporter/FunctionCompilations/FunctionCompilationsExporter.cpp b/src/AnalysisExporter/FunctionCompilations/FunctionCompilationsExporter.cpp index ee56b96..5ce51c1 100644 --- a/src/AnalysisExporter/FunctionCompilations/FunctionCompilationsExporter.cpp +++ b/src/AnalysisExporter/FunctionCompilations/FunctionCompilationsExporter.cpp @@ -84,8 +84,7 @@ bool FunctionCompilationsExporter::ExportTo(const std::string& path) const }); // write data header to stream - out << "Decorated function name" << ";" - << "Undecorated function name" << ";" + out << "Undecorated function name" << ";" << "Average elapsed time (nanoseconds)" << ";" << "Minimum elapsed time (nanoseconds)" << ";" << "Maximum elapsed time (nanoseconds)" << ";" @@ -96,8 +95,7 @@ bool FunctionCompilationsExporter::ExportTo(const std::string& path) const for (auto&& data : dataPerFunction) { // dump to stream - out << (*data.FunctionName) << ";" - << Utilities::CppBuildInsightsDataConversion::UndecorateFunction(*data.FunctionName) << ";" + out << Utilities::CppBuildInsightsDataConversion::UndecorateFunction(*data.FunctionName) << ";" << data.AverageCompilationTime.count() << ";" << data.MinimumCompilationTime.count() << ";" << data.MaximumCompilationTime.count() << ";"