hello guys,

i'm working on my computer architecture homework. of the tasks is to run a benchmark and count the top 20 mostly used instructions.

but i don't know what kind of tool can do that.

i know that AMD's codeanalyst has some thing called instruction-based sampling. but that doesn't work on my intel machine.

or is there any virtual machine that does this job?

thank you.