Provides high-resolution time utilities for nanoseconds and milliseconds.
More...
#include <ssgx_utils_t_time.h>
|
| static int64_t | NowInNanoseconds () |
| | Returns the current time in nanoseconds since the UNIX epoch.
|
| |
| static int64_t | NowInMilliseconds () |
| | Returns the current time in milliseconds since the UNIX epoch.
|
| |
Provides high-resolution time utilities for nanoseconds and milliseconds.
◆ NowInMilliseconds()
| static int64_t ssgx::utils_t::PreciseTime::NowInMilliseconds |
( |
| ) |
|
|
static |
Returns the current time in milliseconds since the UNIX epoch.
- Exceptions
-
| runtime_error | Throw the exception if the ssgx_ocall_time call fails or the time verification fails. |
- Returns
- Current time in milliseconds.
◆ NowInNanoseconds()
| static int64_t ssgx::utils_t::PreciseTime::NowInNanoseconds |
( |
| ) |
|
|
static |
Returns the current time in nanoseconds since the UNIX epoch.
- Exceptions
-
| runtime_error | Throw the exception if the ssgx_ocall_time call fails or the time verification fails. |
- Returns
- Current time in nanoseconds.
The documentation for this class was generated from the following file: