39 _output.append(
"\n" );
40 _output.append( context.
app().
timer().benchmarkReport());
41 _output.append(
"\n" );
42 _output.append(
Util::StringFormat(
"GPU: [ {:5.5f} ms] [DrawCalls: {}] [Vertices: {}] [Primitives: {}]",
44 context.
gfx().frameDrawCallsPrev(),
48 _output.append(
"\n" );
#define PROFILE_SCOPE_AUTO(CATEGORY)
Time::ApplicationTimer & timer() noexcept
static const LoopTimingData & timingData(const Kernel &kernel) noexcept
static U64 FrameCount() noexcept
PerformanceMetrics & getPerformanceMetrics() noexcept
Application & app() noexcept
Kernel & kernel() noexcept
GFXDevice & gfx() noexcept
constexpr bool IS_DEBUG_BUILD
constexpr bool ENABLE_FUNCTION_PROFILING
Enable function level profiling.
constexpr U16 TARGET_FRAME_RATE
Application desired framerate for physics and input simulations.
constexpr Optick::Category::Type GUI
Str StringFormat(const char *fmt, Args &&...args)
Handle console commands that start with a forward slash.
void idle(const PlatformContext &context)