[+] StaticClocksQuery.hpp header (split off)
This commit is contained in:
parent
1f685b635b
commit
3dee15a0f6
@ -44,15 +44,6 @@ namespace Aurora::Time
|
||||
*/
|
||||
AUKN_SYM AuUInt64 SteadyClockJiffies();
|
||||
|
||||
/**
|
||||
* @return { time spent in userland, time spent in kernelland }
|
||||
*/
|
||||
AUKN_SYM AuPair<AuUInt64, AuUInt64> GetClockUserAndKernelTimeNS(EClock clock);
|
||||
|
||||
AUKN_SYM AuUInt64 QueryClockTimeNS(EClock clock);
|
||||
|
||||
AUKN_SYM AuUInt64 QueryClockFrequency(EClock clock);
|
||||
|
||||
/**
|
||||
* @brief frequency in jiffies per second
|
||||
*/
|
||||
|
21
Include/Aurora/Time/StaticClocksQuery.hpp
Normal file
21
Include/Aurora/Time/StaticClocksQuery.hpp
Normal file
@ -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<AuUInt64, AuUInt64> GetClockUserAndKernelTimeNS(EClock clock);
|
||||
|
||||
AUKN_SYM AuUInt64 QueryClockTimeNS(EClock clock);
|
||||
|
||||
AUKN_SYM AuUInt64 QueryClockFrequency(EClock clock);
|
||||
}
|
@ -12,6 +12,7 @@
|
||||
#include "StaticClocks.hpp"
|
||||
#include "StaticClocksDirect.hpp"
|
||||
#include "StaticClocksClasses.hpp"
|
||||
#include "StaticClocksQuery.hpp"
|
||||
|
||||
namespace Aurora::Time
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user