2015-05-23 22:32:32 -06:00
|
|
|
// Copyright 2012 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2014-02-17 03:18:15 -07:00
|
|
|
#include "VideoCommon/PerfQueryBase.h"
|
2016-06-24 02:43:46 -06: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
|
|
|
{
|
2016-06-24 02:43:46 -06:00
|
|
|
return g_ActiveConfig.bPerfQueriesEnable;
|
2013-08-11 09:08:12 -06:00
|
|
|
}
|