1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00
SqMod/source/Library/Chrono.hpp
2016-03-25 14:28:07 +02:00

27 lines
882 B
C++

#ifndef _LIBRARY_CHRONO_HPP_
#define _LIBRARY_CHRONO_HPP_
// ------------------------------------------------------------------------------------------------
#include "SqBase.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
/* ------------------------------------------------------------------------------------------------
* Retrieve the current time as microseconds.
*/
Int64 GetCurrentSysTime();
/* ------------------------------------------------------------------------------------------------
* Retrieve the epoch time as microseconds.
*/
Int64 GetEpochTimeMicro();
/* ------------------------------------------------------------------------------------------------
* Retrieve the epoch time as milliseconds.
*/
Int64 GetEpochTimeMilli();
} // Namespace:: SqMod
#endif // _LIBRARY_CHRONO_HPP_