From b0629bcc67e1e81c16ae5a0e42dec22cd88f610e Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Thu, 18 Jun 2026 09:35:19 +0200 Subject: [PATCH] Add ProfilerGPU dump summary at the bottom to read it easily --- Source/Engine/Profiler/ProfilerGPU.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Engine/Profiler/ProfilerGPU.cpp b/Source/Engine/Profiler/ProfilerGPU.cpp index bd64c7369..bb333a121 100644 --- a/Source/Engine/Profiler/ProfilerGPU.cpp +++ b/Source/Engine/Profiler/ProfilerGPU.cpp @@ -475,6 +475,10 @@ void GraphicsDumping::Print() } sb.AppendLine(); } + { + // Summary at the bottom (eg. when used in Editor/log to quickly find total time) + sb.AppendFormat(TEXT("(avg: {} ms, {} FPS)"), Utilities::RoundTo2DecimalPlaces(draw.Time), (int32)(1000.0f / draw.Time)).AppendLine(); + } LOG_STR(Info, sb.ToStringView()); }