Cross-Platform (linux/windows) CPU Cache Memory Mountain Viewer
Demo: cd memory_mountain\demo
and run demo.bat
- memory_mountain.exe prints data. cmd >
display_mountain > mountain.txt
- display_mountain.m read data and display. matlab >
display_mountain mountain.txt
References:
- Computer Systems: A Programmer's Perspective
- https://zh.wikipedia.org/wiki/%E5%AD%98%E5%82%A8%E5%99%A8%E5%B1%B1
- http://www.cs.cmu.edu/afs/cs/academic/class/15213-f05/code/mem/mountain/
- What is an alternative to including sys/times.h on windows?
- https://code.google.com/p/madp-win/source/browse/src/include/sys/times.h