|
From: qd <qd...@ya...> - 2005-09-14 20:18:40
|
I'm not clear about what this percentage mean. If I have the following output: Context accounted for 2.6% of measured spacetime 0x3BFDB2A5: nzumalloc how is this 2.6% calculated? Is it simply (#calls to nzumalloc)/(total # calls to malloc) or is it weighted by the time span of the allocated memory. Does it take the amount of memory allocated for each call into account? Thanks! -Quan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Nicholas N. <nj...@cs...> - 2005-09-14 20:22:57
|
On Wed, 14 Sep 2005, qd wrote: > I'm not clear about what this percentage mean. If I > have the following output: > > Context accounted for 2.6% of measured spacetime > 0x3BFDB2A5: nzumalloc > > how is this 2.6% calculated? Is it simply (#calls to > nzumalloc)/(total # calls to malloc) or is it weighted > by the time span of the allocated memory. spacetime = space x time, so it's the latter. > Does it take the amount of memory allocated for each call into account? No. So one big allocation from a context may show up with the same spacetime as many small allocations from a context. Nick |