]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve comment on top of pgstat_count_io_op_time()
authorMichael Paquier <michael@paquier.xyz>
Mon, 3 Feb 2025 02:19:58 +0000 (11:19 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 3 Feb 2025 02:19:58 +0000 (11:19 +0900)
commitb998fedab74c6cf4e564c17f4171881759a093ee
tree5a7dd5210ff68caf8d98e17bacf91b719f1d272d
parentfcce828529ee36ac452aead60fe95648bde3256c
Improve comment on top of pgstat_count_io_op_time()

This commit adds more documentation to pgstat_count_io_op_time() in
pgstat_io.c, explaining its internals for pgstat_count_buffer_*(),
pgBufferUsage and the contexts where these are used.

Extracted from a larger patch by the same author.

Author: Nazir Bilal Yavuz
Discussion: https://postgr.es/m/CAN55FZ3AiQ+ZMxUuXnBpd0Rrh1YhwJ5FudkHg=JU0P+-W8T4Vg@mail.gmail.com
src/backend/utils/activity/pgstat_io.c