On Thu, 24 May 2012, Hank wrote: > I've collected number of instructions using predefined event named > "instructions" and also collected using the raw event (register and unit mask) > for instructions retired. Although they are similar, outputs are not the > exactly > the same. > > Can anyone explain me what is the built-in event "instructions" measuring? If > it > is the number of retired instructions, then what might be the reason for > getting > different output when I use the raw event number?
what processor are you running on? What raw event are you using? what version of Linux? Are you specifying things like user-only? There's enough variation in retired instruction counts that entire papers have been written on it. http://web.eecs.utk.edu/~vweaver1/projects/deterministic/fhpm2010_weaver.pdf Vince -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
