diff --git a/Include/Aurora/Time/StaticClocksDirect.hpp b/Include/Aurora/Time/StaticClocksDirect.hpp index 582e1fd7..7966be4e 100644 --- a/Include/Aurora/Time/StaticClocksDirect.hpp +++ b/Include/Aurora/Time/StaticClocksDirect.hpp @@ -44,15 +44,6 @@ namespace Aurora::Time */ AUKN_SYM AuUInt64 SteadyClockJiffies(); - /** - * @return { time spent in userland, time spent in kernelland } - */ - AUKN_SYM AuPair GetClockUserAndKernelTimeNS(EClock clock); - - AUKN_SYM AuUInt64 QueryClockTimeNS(EClock clock); - - AUKN_SYM AuUInt64 QueryClockFrequency(EClock clock); - /** * @brief frequency in jiffies per second */ diff --git a/Include/Aurora/Time/StaticClocksQuery.hpp b/Include/Aurora/Time/StaticClocksQuery.hpp new file mode 100644 index 00000000..fac48579 --- /dev/null +++ b/Include/Aurora/Time/StaticClocksQuery.hpp @@ -0,0 +1,21 @@ +/*** + Copyright (C) 2021-2023 J Reece Wilson (a/k/a "Reece"). All rights reserved. + + File: StaticClocksQuery.hpp + Date: 2023-09-23 + Date: 2023-10-23 + Author: Reece +***/ +#pragma once + +namespace Aurora::Time +{ + /** + * @return { time spent in userland, time spent in kernelland } + */ + AUKN_SYM AuPair GetClockUserAndKernelTimeNS(EClock clock); + + AUKN_SYM AuUInt64 QueryClockTimeNS(EClock clock); + + AUKN_SYM AuUInt64 QueryClockFrequency(EClock clock); +} \ No newline at end of file diff --git a/Include/Aurora/Time/Time.hpp b/Include/Aurora/Time/Time.hpp index 5f189c33..1cbad477 100644 --- a/Include/Aurora/Time/Time.hpp +++ b/Include/Aurora/Time/Time.hpp @@ -12,6 +12,7 @@ #include "StaticClocks.hpp" #include "StaticClocksDirect.hpp" #include "StaticClocksClasses.hpp" +#include "StaticClocksQuery.hpp" namespace Aurora::Time {