mirror of
https://github.com/thunderbrewhq/common.git
synced 2025-12-12 03:02:29 +00:00
feat(time): add common time functions
This commit is contained in:
parent
d1bfb1394e
commit
1da79e35bf
2 changed files with 65 additions and 0 deletions
12
common/Time.hpp
Normal file
12
common/Time.hpp
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue