On Wed Apr 15 10:55:34 EDT 2009, uai...@gmail.com wrote: > Hi, > I want to compare the memory consumption of two versions of the same > program. I think /proc it's the way to go and acid should give me the > tools to do so, am I right? is there a better way to do so? Just > asking before reading the acid papers. > Also, I am interested in the speed of both versions, and I am planning > to use the time command with some rc scripts. Am I in the right path? > thanks and saludos
leak should give you a very detailed picture of memory allocation. ron's comments notwithstanding, i have found nsec() to be very helpful in tuning most user mode programs. i wasn't doing supercomputer applications, but the chances are you aren't either. - erik