Re: Performance features the 4th - Mailing list pgsql-hackers

From Jan Wieck
Subject Re: Performance features the 4th
Date
Msg-id 3FA96272.40804@Yahoo.com
Whole thread Raw
In response to Re: Performance features the 4th  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Performance features the 4th  (Kurt Roeckx <Q@ping.be>)
List pgsql-hackers
Andrew Dunstan wrote:

> Jan Wieck wrote:
> 
>>
>> How portable is getrusage()? Could the postmaster issue that 
>> frequently for RUSAGE_CHILDREN and leave the result somewhere in the 
>> shared memory for whoever is concerned?
>>
> SVr4, BSD4.3, SUS2 and POSIX1003.1, I believe.
> 
> I also believe there is a M$ dll available that gives that functionality 
> (psapi.dll).

Remains the question when it is updated, the manpage doesn't tell. If 
the RUSAGE_CHILDREN information is updated only when the child exits, 
each backend has to do it.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: \xDD patch for 7.5devel
Next
From: Andrew Sullivan
Date:
Subject: Re: Performance features the 4th