Fix comments in instr_time.h and remove an unneeded cast to int64
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 6 Aug 2024 11:28:02 +0000 (14:28 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 6 Aug 2024 11:28:02 +0000 (14:28 +0300)
commit3dcb09de7bb21c75d4df48263561af324fd099a4
treec0d50a751a2ca32d5ac7d5d9f07354f60298e854
parent8771298605a6d81861634ed387a6fc7ed496fa61
Fix comments in instr_time.h and remove an unneeded cast to int64

03023a2664 represented time as an int64 on all platforms but forgot to
update the comment related to INSTR_TIME_GET_MICROSEC() and provided
an incorrect comment for INSTR_TIME_GET_NANOSEC().

In passing remove an unneeded cast to int64.

Author: Bertrand Drouvot
Discussion: https://www.postgresql.org/message-id/ZrHkv3MAQfwNSmTG@ip-10-97-1-34.eu-west-3.compute.internal
src/include/portability/instr_time.h