On Sat, Mar 11, 2006 at 01:49:50AM +0300, Yar Tikhiy wrote:
On Tue, Mar 07, 2006 at 06:12:59PM +0200, Kostik Belousov wrote:
It may be desirable to add ru_maxrss sampling at the calcru time too.
Something like this:
Index: sys/kern/kern_resource.c
On Tue, Mar 07, 2006 at 06:12:59PM +0200, Kostik Belousov wrote:
On Tue, Mar 07, 2006 at 06:06:31PM +0300, Yar Tikhiy wrote:
On Tue, Mar 07, 2006 at 12:11:56PM +0200, Kostik Belousov wrote:
On Tue, Mar 07, 2006 at 02:15:56AM +0300, Yar Tikhiy wrote:
Personally, I'd like to say a me
On Tue, Mar 07, 2006 at 02:15:56AM +0300, Yar Tikhiy wrote:
On Thu, Mar 02, 2006 at 11:50:29PM +, Nick Barnes wrote:
At 2006-03-02 22:24:17+, Nik Clayton writes:
I'm failing to understand how getrusage() works, which is a bit
perplexing,
because it doesn't seem like it would
On Tue, Mar 07, 2006 at 12:11:56PM +0200, Kostik Belousov wrote:
On Tue, Mar 07, 2006 at 02:15:56AM +0300, Yar Tikhiy wrote:
Personally, I'd like to say a me too. /me too fails to see why
in a quiet, idle system ru_maxrss is very unpredictable over numerous
runs of the test program,
On Tue, Mar 07, 2006 at 06:06:31PM +0300, Yar Tikhiy wrote:
On Tue, Mar 07, 2006 at 12:11:56PM +0200, Kostik Belousov wrote:
On Tue, Mar 07, 2006 at 02:15:56AM +0300, Yar Tikhiy wrote:
Personally, I'd like to say a me too. /me too fails to see why
in a quiet, idle system ru_maxrss is
On Thu, Mar 02, 2006 at 11:50:29PM +, Nick Barnes wrote:
At 2006-03-02 22:24:17+, Nik Clayton writes:
I'm failing to understand how getrusage() works, which is a bit perplexing,
because it doesn't seem like it would be terribly complicated.
ru_maxrss is the maximum resident set
I'm failing to understand how getrusage() works, which is a bit perplexing,
because it doesn't seem like it would be terribly complicated.
I've attached the code. My aim is to verify that I can use getrusage() to
do (admittedly crude) instrumentation of which functions in my program
At 2006-03-02 22:24:17+, Nik Clayton writes:
I'm failing to understand how getrusage() works, which is a bit perplexing,
because it doesn't seem like it would be terribly complicated.
ru_maxrss is the maximum resident set size, not the heap size.
malloc(big) doesn't grow the resident set