NCBI C++ ToolKit
Macros | Typedefs | Functions
platform_time.h File Reference

Mbed TLS Platform time abstraction. More...

#include "mbedtls/build_info.h"
#include <time.h>
#include <stdint.h>
#include <inttypes.h>
+ Include dependency graph for platform_time.h:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define mbedtls_time   time
 

Typedefs

typedef time_t mbedtls_time_t
 
typedef int64_t mbedtls_ms_time_t
 

Functions

mbedtls_ms_time_t mbedtls_ms_time (void)
 Get time in milliseconds. More...
 

Detailed Description

Mbed TLS Platform time abstraction.

Definition in file platform_time.h.

Macro Definition Documentation

◆ mbedtls_time

#define mbedtls_time   time

Definition at line 71 of file platform_time.h.

Typedef Documentation

◆ mbedtls_ms_time_t

Definition at line 35 of file platform_time.h.

◆ mbedtls_time_t

typedef time_t mbedtls_time_t

Definition at line 27 of file platform_time.h.

Function Documentation

◆ mbedtls_ms_time()

mbedtls_ms_time_t mbedtls_ms_time ( void  )

Get time in milliseconds.

Returns
Monotonically-increasing current time in milliseconds.
Note
Define MBEDTLS_PLATFORM_MS_TIME_ALT to be able to provide an alternative implementation
Warning
This function returns a monotonically-increasing time value from a start time that will differ from platform to platform, and possibly from run to run of the process.
Modified on Wed May 15 15:04:34 2024 by modify_doxy.py rev. 669887