AuroraRuntime/Include/Aurora/Time/IClock.hpp
Reece 82d455c4b1 [+] AuTime::EClock
[+] AuTime::IClock
[+] AuTime::GetWallClock
[+] AuTime::GetProcessClock
[+] AuTime::GetSteadyClock
[+] AuTime::GetClockFromEnum
[*] Rename Timer -> Stopwatch
[*] Refactor a serial AuString to a string view

(*amended year)
2023-03-21 10:26:16 +00:00

19 lines
372 B
C++

/***
Copyright (C) 2023 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: IClock.hpp
Date: 2023-3-21
Author: Reece
***/
#pragma once
namespace Aurora::Time
{
struct IClock
{
virtual EClock GetType() = 0;
virtual AuUInt64 GetHertz() = 0;
virtual AuUInt64 NowNS() = 0;
virtual AuUInt64 NowMS() = 0;
};
}