Re: Use CLOCK_MONOTONIC_COARSE for instr_time when available
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Use CLOCK_MONOTONIC_COARSE for instr_time when available |
| Дата | |
| Msg-id | 1817878.1743044982@sss.pgh.pa.us обсуждение |
| Ответ на | Use CLOCK_MONOTONIC_COARSE for instr_time when available (杨江华 <yjhjstz@gmail.com>) |
| Ответы |
Re: Use CLOCK_MONOTONIC_COARSE for instr_time when available
Re: Use CLOCK_MONOTONIC_COARSE for instr_time when available |
| Список | pgsql-hackers |
=?UTF-8?B?5p2o5rGf5Y2O?= <yjhjstz@gmail.com> writes:
> This patch modifies the instr_time.h header to prefer CLOCK_MONOTONIC_COARSE
> when available.
As far as I know, our usage of instr_time really needs the highest
resolution available, because we are usually trying to measure pretty
short intervals. You say that this patch reduces execution time,
and I imagine that's true ... but I wonder if it doesn't do so at
the cost of totally destroying the reliability of the output numbers.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера