diff --git a/Source/Threading/Threads/AuOSThread.cpp b/Source/Threading/Threads/AuOSThread.cpp index 0f53c6e4..8d94eb53 100644 --- a/Source/Threading/Threads/AuOSThread.cpp +++ b/Source/Threading/Threads/AuOSThread.cpp @@ -559,6 +559,7 @@ namespace Aurora::Threading::Threads { uClockCreationTime[0] = AuTime::CurrentClockNS(); uClockCreationTime[1] = AuTime::SteadyClockNS(); + uClockCreationTime[2] = AuTime::ProcessClockNS(); } AuUInt64 OSThread::GetThreadCreationTime(Time::EClock eClock) @@ -575,6 +576,8 @@ namespace Aurora::Threading::Threads return uClockCreationTime[0]; case Time::EClock::eSteady: return uClockCreationTime[1]; + case Time::EClock::eProcessTime: + return uClockCreationTime[2]; default: SysPushErrorArg(); return {}; diff --git a/Source/Threading/Threads/AuOSThread.hpp b/Source/Threading/Threads/AuOSThread.hpp index a400b0d9..7cbdd843 100644 --- a/Source/Threading/Threads/AuOSThread.hpp +++ b/Source/Threading/Threads/AuOSThread.hpp @@ -112,7 +112,7 @@ namespace Aurora::Threading::Threads Primitives::CriticalSection exitOnlyOnce_; AuList> threadFeatures_; AuBinarySemaphore epExecEvent; - AuUInt64 uClockCreationTime[2] {}; + AuUInt64 uClockCreationTime[3] {}; AuFunction task_;