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