Reece
82d455c4b1
[+] AuTime::IClock [+] AuTime::GetWallClock [+] AuTime::GetProcessClock [+] AuTime::GetSteadyClock [+] AuTime::GetClockFromEnum [*] Rename Timer -> Stopwatch [*] Refactor a serial AuString to a string view (*amended year)
19 lines
372 B
C++
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;
|
|
};
|
|
} |