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