Currently I am working on my project for Computer Architecture class about dynamic analysis of execution of instructions in programs, and I can't quite find any information on if time spent on executing certain instructions affects the amount of hits it receives. Also how could i possibly find out how much time one instrucion takes.
I have perf annotate output which shows me all the hits and times of all the sections as well as a program which sums up every instruction and takes in account all the branches with conditional jumps.