AuroraRuntime/Include/Aurora/Time/StaticClocksQuery.hpp

21 lines
504 B
C++

/***
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);
}