TianoCore EDK2 master
|
#include <Uefi.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
Go to the source code of this file.
Data Structures | |
struct | tm |
Macros | |
#define | IsLeap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) |
#define | SECSPERMIN (60) |
#define | SECSPERHOUR (60 * 60) |
#define | SECSPERDAY (24 * SECSPERHOUR) |
Typedefs | |
typedef int | time_t |
Functions | |
time_t | time (time_t *timer) |
struct tm * | gmtime (const time_t *timer) |
time_t | _time64 (time_t *t) |
Variables | |
UINTN | CumulativeDays [2][14] |
C Run-Time Libraries (CRT) Time Management Routines Wrapper Implementation for MbedTLS-based Cryptographic Library (used in DXE & RUNTIME).
Copyright (c) 2023, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TimerWrapper.c.
#define IsLeap | ( | y | ) | (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) |
Definition at line 38 of file TimerWrapper.c.
#define SECSPERDAY (24 * SECSPERHOUR) |
Definition at line 41 of file TimerWrapper.c.
#define SECSPERHOUR (60 * 60) |
Definition at line 40 of file TimerWrapper.c.
#define SECSPERMIN (60) |
Definition at line 39 of file TimerWrapper.c.
typedef int time_t |
Definition at line 15 of file TimerWrapper.c.
time_t _time64 | ( | time_t * | t | ) |
_time64 function.
Definition at line 193 of file TimerWrapper.c.
struct tm * gmtime | ( | const time_t * | timer | ) |
Convert a time value from type time_t to struct tm.
Definition at line 130 of file TimerWrapper.c.
time_t time | ( | time_t * | timer | ) |
Get the system time as seconds elapsed since midnight, January 1, 1970.
Definition at line 85 of file TimerWrapper.c.
UINTN CumulativeDays[2][14] |
Definition at line 48 of file TimerWrapper.c.