Add ProfilerGPU dump summary at the bottom to read it easily

This commit is contained in:
2026-06-18 09:35:19 +02:00
parent b3ba253296
commit b0629bcc67
+4
View File
@@ -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());
}