mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
renamed steady to monotonic
This commit is contained in:
parent
b86c83a068
commit
a8af683643
6 changed files with 24 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2022, The PurpleI2P Project
|
||||
* Copyright (c) 2013-2024, The PurpleI2P Project
|
||||
*
|
||||
* This file is part of Purple i2pd project and licensed under BSD3
|
||||
*
|
||||
|
@ -24,8 +24,10 @@ namespace util
|
|||
uint32_t GetMinutesSinceEpoch ();
|
||||
uint32_t GetHoursSinceEpoch ();
|
||||
|
||||
uint64_t GetSteadyMicroseconds();
|
||||
|
||||
uint64_t GetMonotonicMicroseconds ();
|
||||
uint64_t GetMonotonicMilliseconds ();
|
||||
uint64_t GetMonotonicSeconds ();
|
||||
|
||||
void GetCurrentDate (char * date); // returns date as YYYYMMDD string, 9 bytes
|
||||
void GetDateString (uint64_t timestamp, char * date); // timestamp is seconds since epoch, returns date as YYYYMMDD string, 9 bytes
|
||||
void AdjustTimeOffset (int64_t offset); // in seconds from current
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue