summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2017-02-19 18:35:04 -0800
committerGravatar Yuri Kunde Schlesner2017-02-26 17:22:03 -0800
commit3b4e4003336c94527339a2a9ad7d52875974258f (patch)
tree18e6e1125ff486ff3f9bd2985af7830cd7838f22 /src/video_core
parentPerfStats: Add method to get the instantaneous time ratio (diff)
downloadyuzu-3b4e4003336c94527339a2a9ad7d52875974258f.tar.gz
yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.tar.xz
yuzu-3b4e4003336c94527339a2a9ad7d52875974258f.zip
Remove built-in (non-Microprofile) profiler
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index 0b90dcb3d..6bc142148 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -10,7 +10,6 @@
10#include "common/assert.h" 10#include "common/assert.h"
11#include "common/bit_field.h" 11#include "common/bit_field.h"
12#include "common/logging/log.h" 12#include "common/logging/log.h"
13#include "common/profiler_reporting.h"
14#include "common/synchronized_wrapper.h" 13#include "common/synchronized_wrapper.h"
15#include "core/core.h" 14#include "core/core.h"
16#include "core/frontend/emu_window.h" 15#include "core/frontend/emu_window.h"
@@ -146,12 +145,6 @@ void RendererOpenGL::SwapBuffers() {
146 145
147 DrawScreens(); 146 DrawScreens();
148 147
149 auto& profiler = Common::Profiling::GetProfilingManager();
150 profiler.FinishFrame();
151 {
152 auto aggregator = Common::Profiling::GetTimingResultsAggregator();
153 aggregator->AddFrame(profiler.GetPreviousFrameResults());
154 }
155 { 148 {
156 auto perf_stats = Core::System::GetInstance().perf_stats.Lock(); 149 auto perf_stats = Core::System::GetInstance().perf_stats.Lock();
157 perf_stats->EndSystemFrame(); 150 perf_stats->EndSystemFrame();
@@ -163,7 +156,6 @@ void RendererOpenGL::SwapBuffers() {
163 156
164 prev_state.Apply(); 157 prev_state.Apply();
165 158
166 profiler.BeginFrame();
167 { 159 {
168 auto perf_stats = Core::System::GetInstance().perf_stats.Lock(); 160 auto perf_stats = Core::System::GetInstance().perf_stats.Lock();
169 perf_stats->BeginSystemFrame(); 161 perf_stats->BeginSystemFrame();