From 36b24bf7a0622b7b67a3889c4a0cdcd6127389d9 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 27 Aug 2018 12:13:37 -0400 Subject: [PATCH] PowerPC: Remove Profiler.cpp With 7aa305ea358ee1574f1036493411aa2cdf86458f merged, all that remains within Profiler.cpp is an unused function that just forwards to the equivalent function within JitInterface. Given that, we can just remove the source file. --- Source/Core/Core/CMakeLists.txt | 1 - Source/Core/Core/Core.vcxproj | 1 - Source/Core/Core/Core.vcxproj.filters | 3 --- Source/Core/Core/PowerPC/Profiler.cpp | 18 ------------------ Source/Core/Core/PowerPC/Profiler.h | 1 - 5 files changed, 24 deletions(-) delete mode 100644 Source/Core/Core/PowerPC/Profiler.cpp diff --git a/Source/Core/Core/CMakeLists.txt b/Source/Core/Core/CMakeLists.txt index f5d65c0588..b7f9a9e259 100644 --- a/Source/Core/Core/CMakeLists.txt +++ b/Source/Core/Core/CMakeLists.txt @@ -202,7 +202,6 @@ add_library(core PowerPC/PPCCache.cpp PowerPC/PPCSymbolDB.cpp PowerPC/PPCTables.cpp - PowerPC/Profiler.cpp PowerPC/SignatureDB/CSVSignatureDB.cpp PowerPC/SignatureDB/DSYSignatureDB.cpp PowerPC/SignatureDB/MEGASignatureDB.cpp diff --git a/Source/Core/Core/Core.vcxproj b/Source/Core/Core/Core.vcxproj index 0fcf274b9c..44e2327dc2 100644 --- a/Source/Core/Core/Core.vcxproj +++ b/Source/Core/Core/Core.vcxproj @@ -295,7 +295,6 @@ - diff --git a/Source/Core/Core/Core.vcxproj.filters b/Source/Core/Core/Core.vcxproj.filters index 0e084ca51e..00add0e697 100644 --- a/Source/Core/Core/Core.vcxproj.filters +++ b/Source/Core/Core/Core.vcxproj.filters @@ -633,9 +633,6 @@ PowerPC - - PowerPC - PowerPC\JitCommon diff --git a/Source/Core/Core/PowerPC/Profiler.cpp b/Source/Core/Core/PowerPC/Profiler.cpp deleted file mode 100644 index 56038e039c..0000000000 --- a/Source/Core/Core/PowerPC/Profiler.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2008 Dolphin Emulator Project -// Licensed under GPLv2+ -// Refer to the license.txt file included. - -#include "Core/PowerPC/Profiler.h" - -#include -#include "Common/PerformanceCounter.h" -#include "Core/PowerPC/JitInterface.h" - -namespace Profiler -{ -void WriteProfileResults(const std::string& filename) -{ - JitInterface::WriteProfileResults(filename); -} - -} // namespace Profiler diff --git a/Source/Core/Core/PowerPC/Profiler.h b/Source/Core/Core/PowerPC/Profiler.h index dee4a24194..ebd36ed5a6 100644 --- a/Source/Core/Core/PowerPC/Profiler.h +++ b/Source/Core/Core/PowerPC/Profiler.h @@ -34,5 +34,4 @@ struct ProfileStats u64 countsPerSec; }; -void WriteProfileResults(const std::string& filename); } // namespace Profiler