2021-06-27 21:25:29 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: Time.hpp
|
|
|
|
Date: 2021-6-9
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
2022-01-24 18:37:06 +00:00
|
|
|
#include <Aurora/Time/ETimezoneShift.hpp>
|
|
|
|
#include <Aurora/Locale/LocaleStrings.hpp>
|
|
|
|
|
2021-06-27 21:25:29 +00:00
|
|
|
namespace Aurora::Time
|
|
|
|
{
|
2022-01-24 18:37:06 +00:00
|
|
|
static AuString ConvertMSToTimescale(AuUInt32 ms)
|
2022-01-21 22:37:29 +00:00
|
|
|
{
|
2022-01-24 18:37:06 +00:00
|
|
|
return Locale::ConvertMSToTimescale(ms);
|
2022-01-21 22:37:29 +00:00
|
|
|
}
|
|
|
|
|
2022-01-24 18:37:06 +00:00
|
|
|
static AuString ConvertNSToTimescale(AuUInt64 ns)
|
2022-01-21 22:37:29 +00:00
|
|
|
{
|
2022-01-24 18:37:06 +00:00
|
|
|
return Locale::ConvertNSToTimescale(ns);
|
2022-01-21 22:37:29 +00:00
|
|
|
}
|
2021-06-27 21:25:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#include "Clock.hpp"
|
|
|
|
#include "Timer.hpp"
|
|
|
|
#include "TimerHighRes.hpp"
|
|
|
|
#include "DebugBenchmark.hpp"
|