summaryrefslogtreecommitdiffstats
path: root/src/core/perf_stats.cpp
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2018-01-17 04:44:02 +0100
committerJames Rowe <jroweboy@gmail.com>2018-01-17 04:44:02 +0100
commita66eb7351ba8073015602ba9739bda5ad143d3ee (patch)
treea788c72d203975c4e2b2ae3416df23c4988fd059 /src/core/perf_stats.cpp
parentacc_u0: Add IPC interface and stub InitializeApplicationInfo. (diff)
downloadyuzu-a66eb7351ba8073015602ba9739bda5ad143d3ee.tar
yuzu-a66eb7351ba8073015602ba9739bda5ad143d3ee.tar.gz
yuzu-a66eb7351ba8073015602ba9739bda5ad143d3ee.tar.bz2
yuzu-a66eb7351ba8073015602ba9739bda5ad143d3ee.tar.lz
yuzu-a66eb7351ba8073015602ba9739bda5ad143d3ee.tar.xz
yuzu-a66eb7351ba8073015602ba9739bda5ad143d3ee.tar.zst
yuzu-a66eb7351ba8073015602ba9739bda5ad143d3ee.zip
Diffstat (limited to '')
-rw-r--r--src/core/perf_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/perf_stats.cpp b/src/core/perf_stats.cpp
index 26752699e..ad3b56fcc 100644
--- a/src/core/perf_stats.cpp
+++ b/src/core/perf_stats.cpp
@@ -69,7 +69,7 @@ PerfStats::Results PerfStats::GetAndResetStats(u64 current_system_time_us) {
double PerfStats::GetLastFrameTimeScale() {
std::lock_guard<std::mutex> lock(object_mutex);
- constexpr double FRAME_LENGTH = 1.0 / 60; // GPU::SCREEN_REFRESH_RATE;
+ constexpr double FRAME_LENGTH = 1.0 / 60;
return duration_cast<DoubleSecs>(previous_frame_length).count() / FRAME_LENGTH;
}