mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-04-30 00:17:20 +02:00
27 lines
708 B
C++
27 lines
708 B
C++
/* This file is part of the dynarmic project.
|
|
* Copyright (c) 2018 MerryMage
|
|
* This software may be used and distributed according to the terms of the GNU
|
|
* General Public License version 2 or any later version.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <string_view>
|
|
|
|
#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<typename T>
|
|
void PerfMapRegister(T start, const void* end, std::string_view friendly_name) {
|
|
detail::PerfMapRegister(Common::BitCast<const void*>(start), end, friendly_name);
|
|
}
|
|
|
|
void PerfMapClear();
|
|
|
|
} // namespace Dynarmic::Backend::X64
|