diff --git a/include/Orange/Core/Time.h b/include/Orange/Core/Time.h new file mode 100644 index 0000000..197f823 --- /dev/null +++ b/include/Orange/Core/Time.h @@ -0,0 +1,56 @@ +#pragma once + +#if defined(_WIN32) +#include +#else +#include +#endif + +namespace orange +{ +#if defined(_WIN32) + struct Time + { + static constexpr bool is_steady = true; + + using rep = int64_t; + using period = std::nano; + using duration = std::chrono::nanoseconds; + using time_point = std::chrono::time_point