Skip to content

Commit

Permalink
FEXCore: Remove BlockSamplingData
Browse files Browse the repository at this point in the history
This was a legacy interface that has long lost its implementation and
has long lost its use. This interface was similar to an older
Dolphin-Emu interface that was useful in that project, but isn't really
useful in a world with hundreds of threads and processes running at the
same time.
  • Loading branch information
Sonicadvance1 committed Sep 22, 2024
1 parent c0b8a0d commit ab5a103
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 ab5a103

Please sign in to comment.