caching - Determining C code's processor cache efficiency -


i'd determine how efficiently given c code utilises processor cache, , if possible, determine data present in cache , stored in main memory (though more of nice-to-have) - there software out there can this?

i know may not fit remit of stack overflow, though of course highly related programming intend use tool test code writing. if there more appropriate place, please let me know/mods move question.

additionally, i'd (much) prefer software mac os x/unix.

thanks!

there various profilers can capture profiles based on cache misses alternative regular time interval based sampling. give idea in program not using cache effectively. on mac os x check out shark (free - part of chud tools package). on linux try zoom (commercial, there's free 30 day evaluation license).


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -