| 1 | // Copyright 2012 Dolphin Emulator Project |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | |
| 4 | #include "VideoCommon/PerfQueryBase.h" |
| 5 | |
| 6 | #include <memory> |
| 7 | |
| 8 | #include "VideoCommon/VideoConfig.h" |
| 9 | |
| 10 | std::unique_ptr<PerfQueryBase> g_perf_query; |
| 11 | |
| 12 | bool PerfQueryBase::ShouldEmulate() |
| 13 | { |
| 14 | return g_ActiveConfig.bPerfQueriesEnable; |
| 15 | } |