2015-05-24 06:32:32 +02:00
|
|
|
// Copyright 2012 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2014-02-17 11:18:15 +01:00
|
|
|
#include "VideoCommon/PerfQueryBase.h"
|
2015-12-21 03:49:49 +01:00
|
|
|
#include <memory>
|
2014-02-17 11:18:15 +01:00
|
|
|
#include "VideoCommon/VideoConfig.h"
|
2012-06-17 13:58:29 +02:00
|
|
|
|
2015-12-21 03:49:49 +01: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;
|
|
|
|
}
|