Skip to content

Commit

Permalink
Merge pull request #4076 from Sonicadvance1/remove_block_sampling
Browse files Browse the repository at this point in the history
FEXCore: Remove BlockSamplingData
  • Loading branch information
lioncash authored Sep 22, 2024
2 parents 9e4de3b + ab5a103 commit 9310ac5
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 84 deletions.
1 change: 0 additions & 1 deletion FEXCore/Source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ set (SRCS
Common/SoftFloat-3e/s_f32UIToCommonNaN.c
Interface/Context/Context.cpp
Interface/Core/LookupCache.cpp
Interface/Core/BlockSamplingData.cpp
Interface/Core/Core.cpp
Interface/Core/CPUBackend.cpp
Interface/Core/CPUID.cpp
Expand Down
4 changes: 0 additions & 4 deletions FEXCore/Source/Interface/Context/Context.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,6 @@ class ContextImpl final : public FEXCore::Context::Context {

FEXCore::Context::ExitHandler CustomExitHandler;

#ifdef BLOCKSTATS
fextl::unique_ptr<FEXCore::BlockSamplingData> BlockData;
#endif

SignalDelegator* SignalDelegation {};
X86GeneratedCode X86CodeGen;

Expand Down
51 changes: 0 additions & 51 deletions FEXCore/Source/Interface/Core/BlockSamplingData.cpp

This file was deleted.

25 changes: 0 additions & 25 deletions FEXCore/Source/Interface/Core/BlockSamplingData.h

This file was deleted.

3 changes: 0 additions & 3 deletions FEXCore/Source/Interface/Core/Core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ ContextImpl::ContextImpl(const FEXCore::HostFeatures& Features)
: HostFeatures {Features}
, CPUID {this}
, IRCaptureCache {this} {
#ifdef BLOCKSTATS
BlockData = std::make_unique<FEXCore::BlockSamplingData>();
#endif
if (Config.CacheObjectCodeCompilation() != FEXCore::Config::ConfigObjectCodeHandler::CONFIG_NONE) {
CodeObjectCacheService = fextl::make_unique<FEXCore::CodeSerialize::CodeObjectSerializeService>(this);
}
Expand Down

0 comments on commit 9310ac5

Please sign in to comment.