Как я могу получить кэш инструкций?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
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

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