Как я могу получить кэш инструкций?C++

Программы на C++. Форум разработчиков
Anonymous
Как я могу получить кэш инструкций?

Сообщение Anonymous »


Introduction: I am writing code on Windows server 2022 and I need to get data from the instruction cache on the CPU, are there any ways to do this from Ring 3 or Ring 0 (in assembler or C++)?

My attempts to solve this problem: I tried to get this data from GetLogicalProcessorInformation, but I was only able to get the number of logical processors, etc. information. So the main problem is, how can I get the instruction cache?


Источник: https://stackoverflow.com/questions/768 ... structions

Вернуться в «C++»