mirror of
https://github.com/thunderbrewhq/common.git
synced 2025-12-12 11:12:29 +00:00
feat(common): implement processor feature detection on Windows and MacOS, more accurate OsTime* functions on Windows
This commit is contained in:
parent
93bdaa6c9e
commit
bc34c481d3
15 changed files with 836 additions and 60 deletions
|
|
@ -1,12 +1,6 @@
|
|||
#ifndef COMMON_TIME_HPP
|
||||
#define COMMON_TIME_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
uint64_t OsGetAsyncTimeMs();
|
||||
|
||||
uint64_t OsGetAsyncTimeMsPrecise();
|
||||
|
||||
void OsSleep(uint32_t duration);
|
||||
#include "common/time/Time.hpp"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue