mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-28 21:12:39 +02:00

CNTVCT_EL0 is force-enabled on all linux plattforms. Windows is untested, but as this is the best way to get *any* low overhead performance counters, they likely use it as well.
21 lines
419 B
C++
21 lines
419 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "Core/PowerPC/Profiler.h"
|
|
|
|
#include <string>
|
|
#include "Common/PerformanceCounter.h"
|
|
#include "Core/PowerPC/JitInterface.h"
|
|
|
|
namespace Profiler
|
|
{
|
|
bool g_ProfileBlocks = false;
|
|
|
|
void WriteProfileResults(const std::string& filename)
|
|
{
|
|
JitInterface::WriteProfileResults(filename);
|
|
}
|
|
|
|
} // namespace
|