2015-05-24 04:32:32 +00:00
|
|
|
// Copyright 2012 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2015-05-24 04:32:32 +00:00
|
|
|
|
2014-02-17 10:18:15 +00:00
|
|
|
#include "VideoCommon/PerfQueryBase.h"
|
2024-07-26 21:24:16 +00:00
|
|
|
|
2015-12-21 02:49:49 +00:00
|
|
|
#include <memory>
|
2024-07-26 21:24:16 +00:00
|
|
|
|
2014-02-17 10:18:15 +00:00
|
|
|
#include "VideoCommon/VideoConfig.h"
|
2012-06-17 11:58:29 +00:00
|
|
|
|
2015-12-21 02:49:49 +00:00
|
|
|
std::unique_ptr<PerfQueryBase> g_perf_query;
|
2013-08-11 15:08:12 +00:00
|
|
|
|
2014-02-04 19:16:03 +00:00
|
|
|
bool PerfQueryBase::ShouldEmulate()
|
2013-08-11 15:08:12 +00:00
|
|
|
{
|
|
|
|
return g_ActiveConfig.bPerfQueriesEnable;
|
|
|
|
}
|