This commit is contained in:
2026-01-03 22:13:15 +05:30
parent fa9cb49b11
commit f99168ee22
7 changed files with 7 additions and 10 deletions

View File

@ -40,6 +40,11 @@ namespace IACore
Logger::Terminate();
}
BOOL IsInitialized()
{
return g_coreInitCount > 0;
}
UINT64 GetUnixTime()
{
auto now = std::chrono::system_clock::now();

View File

@ -56,6 +56,8 @@ namespace IACore
// Safe to call multiple times but, every Initialize call is paired with a corresponding Terminate call
VOID Terminate();
BOOL IsInitialized();
UINT64 GetUnixTime();
UINT64 GetTicksCount();
FLOAT64 GetSecondsCount();