yjhjstz commented on code in PR #1011: URL: https://github.com/apache/cloudberry/pull/1011#discussion_r2016789509
########## src/include/portability/instr_time.h: ########## @@ -223,6 +235,12 @@ typedef LARGE_INTEGER instr_time; #define INSTR_TIME_SET_CURRENT(t) QueryPerformanceCounter(&(t)) +#ifdef CLOCK_MONOTONIC_COARSE +#define INSTR_TIME_SET_CURRENT_COARSE(t) INSTR_TIME_SET_CURRENT(t) Review Comment: this is for `QueryPerformanceCounter` case, no `CLOCK_MONOTONIC_COARSE` avaliable. So keep the same, but need union define `INSTR_TIME_SET_CURRENT_COARSE` to use it later. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
