TianoCore EDK2 master
Loading...
Searching...
No Matches
TimerLibNull.c
Go to the documentation of this file.
1
9#include <Base.h>
10#include <Library/TimerLib.h>
11#include <Library/DebugLib.h>
12
24EFIAPI
26 IN UINTN MicroSeconds
27 )
28{
29 ASSERT (FALSE);
30 return MicroSeconds;
31}
32
44EFIAPI
46 IN UINTN NanoSeconds
47 )
48{
49 ASSERT (FALSE);
50 return 0;
51}
52
64UINT64
65EFIAPI
67 VOID
68 )
69{
70 ASSERT (FALSE);
71 return 0;
72}
73
97UINT64
98EFIAPI
100 OUT UINT64 *StartValue OPTIONAL,
101 OUT UINT64 *EndValue OPTIONAL
102 )
103{
104 ASSERT (FALSE);
105
106 return (UINT64)(-1);
107}
108
120UINT64
121EFIAPI
123 IN UINT64 Ticks
124 )
125{
126 ASSERT (FALSE);
127 return 0;
128}
UINT64 UINTN
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
UINT64 EFIAPI GetPerformanceCounterProperties(OUT UINT64 *StartValue OPTIONAL, OUT UINT64 *EndValue OPTIONAL)
Definition: TimerLibNull.c:99
UINT64 EFIAPI GetTimeInNanoSecond(IN UINT64 Ticks)
Definition: TimerLibNull.c:122
UINT64 EFIAPI GetPerformanceCounter(VOID)
Definition: TimerLibNull.c:66
UINTN EFIAPI MicroSecondDelay(IN UINTN MicroSeconds)
Definition: TimerLibNull.c:25
UINTN EFIAPI NanoSecondDelay(IN UINTN NanoSeconds)
Definition: TimerLibNull.c:45