3 ms·
Although it wouldn't really be relevant for the level generation we're doing unless the memory usage was outrageous, I'm open to including memory usage in the t
by logicchains 13y ago
Although it wouldn't really be relevant for the level generation we're doing unless the memory usage was outrageous, I'm open to including memory usage in the table for comprehensiveness's sake. What would you say is the best way to measure ram usage on Linux; is there something as simple as 'time ./ThisExecutable' is for measuring time?
- mastensg 13y agoTry the time command (not the shell builtin): $ command time -f 'max resident:\t%M KiB' ls / bin etc initrd.img.old lib32 media proc sbin tmp vmlinuz boot home iso lib64 mnt root srv usr vmlinuz.old dev initrd.img lib lost+found opt run sys var max resident: 968 KiB
- logicchains 13y agoThanks, I've included max resident memory statistics on the benchmark.
- gtani 13y agothis is a really good writeup (summing up Private_Dirty, Shared_Dirty for some pid's: http://tech.brightbox.com/posts/2012-11-28-measuring-shared-ram-usage/ http://tech.brightbox.com/posts/2012-11-28-measuring-shared-... https://news.ycombinator.com/item?id=4842782 https://news.ycombinator.com/item?id=4842782