yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #3001 from bunnei/fix-clang-error

core: Fix clang-format errors.
This commit is contained in:
bunnei 2019-10-19 14:52:19 -04:00 committed by GitHub
commit dd2e96b362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

View File

@ -242,15 +242,16 @@ struct System::Impl {
void Shutdown() { void Shutdown() {
// Log last frame performance stats if game was loded // Log last frame performance stats if game was loded
if (perf_stats) { if (perf_stats) {
const auto perf_results = GetAndResetPerfStats(); const auto perf_results = GetAndResetPerfStats();
telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_EmulationSpeed", telemetry_session->AddField(Telemetry::FieldType::Performance,
perf_results.emulation_speed * 100.0); "Shutdown_EmulationSpeed",
telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_Framerate", perf_results.emulation_speed * 100.0);
perf_results.game_fps); telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_Framerate",
telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_Frametime", perf_results.game_fps);
perf_results.frametime * 1000.0); telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_Frametime",
telemetry_session->AddField(Telemetry::FieldType::Performance, "Mean_Frametime_MS", perf_results.frametime * 1000.0);
perf_stats->GetMeanFrametime()); telemetry_session->AddField(Telemetry::FieldType::Performance, "Mean_Frametime_MS",
perf_stats->GetMeanFrametime());
} }
lm_manager.Flush(); lm_manager.Flush();