getrusage on win32

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема getrusage on win32
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE475BB1@algol.sollentuna.se
обсуждение исходный текст
Ответы Re: getrusage on win32
Список pgsql-patches
Here is a fix for getrusage on win32. This fixes the bad timing output
from vacuum verbose.

The reason for the really weird numbers before was that the memset()
used to clear out the structure used sizeof(rusage) instead of
sizeof(struct rusage). That said, the old version didn't actually return
anything other than 0 by design. This version checks the actual times...

//Magnus


Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgxs default installation + various fixes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: getrusage on win32