/* This file is part of the dynarmic project. * Copyright (c) 2018 MerryMage * SPDX-License-Identifier: 0BSD */ #pragma once #include #include "common/cast_util.h" namespace Dynarmic::Backend::X64 { namespace detail { void PerfMapRegister(const void* start, const void* end, std::string_view friendly_name); } // namespace detail template void PerfMapRegister(T start, const void* end, std::string_view friendly_name) { detail::PerfMapRegister(Common::BitCast(start), end, friendly_name); } void PerfMapClear(); } // namespace Dynarmic::Backend::X64