UEFIStarter
a simple UEFI framework
timestamp.h
Go to the documentation of this file.
1 
11 #ifndef __TIMESTAMP_H
12 #define __TIMESTAMP_H
13 
14 #include <Uefi.h>
15 
16 
17 double timestamp_diff_seconds(UINT64 start, UINT64 end);
18 int init_timestamps();
19 UINT64 get_timestamp();
21 
22 
23 #endif
UINT64 get_timestamp_ticks_per_second()
Returns the number of timestamp ticks per second.
Definition: timestamp.c:114
double timestamp_diff_seconds(UINT64 start, UINT64 end)
Calculates the number of seconds between two timestamps.
Definition: timestamp.c:97
int init_timestamps()
Initializes the timestamp features.
Definition: timestamp.c:34
UINT64 get_timestamp()
Fetches and returns the current timestamp.
Definition: timestamp.c:71