From f1e74f6855e36807b62ee85be5db61316d87be23 Mon Sep 17 00:00:00 2001 From: crueter Date: Wed, 6 Aug 2025 07:48:11 +0200 Subject: [meta] remove MicroProfile (#185) Signed-off-by: crueter Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/185 Reviewed-by: Lizzie --- src/core/cpu_manager.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/core/cpu_manager.cpp') diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp index 1b838eea59..1a80fcfaa4 100644 --- a/src/core/cpu_manager.cpp +++ b/src/core/cpu_manager.cpp @@ -1,8 +1,10 @@ +// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/fiber.h" -#include "common/microprofile.h" #include "common/scope_exit.h" #include "common/thread.h" #include "core/core.h" @@ -192,7 +194,6 @@ void CpuManager::RunThread(std::stop_token token, std::size_t core) { } else { name = "CPUThread"; } - MicroProfileOnThreadCreate(name.c_str()); Common::SetCurrentThreadName(name.c_str()); Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical); auto& data = core_data[core]; @@ -201,9 +202,6 @@ void CpuManager::RunThread(std::stop_token token, std::size_t core) { // Cleanup SCOPE_EXIT { data.host_context->Exit(); -#if MICROPROFILE_ENABLED - MicroProfileOnThreadExit(); -#endif }; // Running -- cgit v1.2.3