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;
|
||
|
};
|
||
|
}
|