feat(time): add common time functions

This commit is contained in:
fallenoak 2022-12-28 14:28:47 -06:00 committed by GitHub
parent d1bfb1394e
commit 1da79e35bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 65 additions and 0 deletions

12
common/Time.hpp Normal file
View file

@ -0,0 +1,12 @@
#ifndef COMMON_TIME_HPP
#define COMMON_TIME_HPP
#include <cstdint>
uint64_t OsGetAsyncTimeMs();
uint64_t OsGetAsyncTimeMsPrecise();
void OsSleep(uint32_t duration);
#endif