|
|
@ -182,13 +182,13 @@ struct System::Impl {
|
|
|
|
|
|
|
|
|
|
|
|
void Shutdown() {
|
|
|
|
void Shutdown() {
|
|
|
|
// Log last frame performance stats
|
|
|
|
// Log last frame performance stats
|
|
|
|
auto perf_results = GetAndResetPerfStats();
|
|
|
|
const auto perf_results = GetAndResetPerfStats();
|
|
|
|
Telemetry().AddField(Telemetry::FieldType::Performance, "Shutdown_EmulationSpeed",
|
|
|
|
telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_EmulationSpeed",
|
|
|
|
perf_results.emulation_speed * 100.0);
|
|
|
|
perf_results.emulation_speed * 100.0);
|
|
|
|
Telemetry().AddField(Telemetry::FieldType::Performance, "Shutdown_Framerate",
|
|
|
|
telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_Framerate",
|
|
|
|
perf_results.game_fps);
|
|
|
|
perf_results.game_fps);
|
|
|
|
Telemetry().AddField(Telemetry::FieldType::Performance, "Shutdown_Frametime",
|
|
|
|
telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_Frametime",
|
|
|
|
perf_results.frametime * 1000.0);
|
|
|
|
perf_results.frametime * 1000.0);
|
|
|
|
|
|
|
|
|
|
|
|
is_powered_on = false;
|
|
|
|
is_powered_on = false;
|
|
|
|
|
|
|
|
|
|
|
|