Switch to CLOCK_BOOTTIME for HSA system clock.

This is consistent with KFD and has significantly better latency.
KFD is taking this as the definition of the SystemClockCounter.

Change-Id: I4c1b3bc58c738206265c55ebefd41356c013bfe5
This commit is contained in:
Sean Keely
2022-04-27 20:16:54 -05:00
parent cd0788938c
commit 0ee82742a7
4 changed files with 40 additions and 7 deletions
@@ -270,6 +270,16 @@ void DestroySharedMutex(SharedMutex lock) {
abort();
}
uint64_t ReadSystemClock() {
assert(false && "Not implemented.");
abort();
}
uint64_t SystemClockFrequency() {
assert(false && "Not implemented.");
abort();
}
} // namespace os
} // namespace rocr