Searched defs:NanoSeconds (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/DxeTimerLibEsal/
H A DDxeTimerLibEsal.c61 It stalls the CPU for the number of nanoseconds specified by NanoSeconds.
63 @param NanoSeconds The minimum number of nanoseconds to delay.
65 @return NanoSeconds
71 IN UINTN NanoSeconds
81 MicroSeconds = DivU64x32 (NanoSeconds + 999, 1000);
94 return NanoSeconds;
199 UINT64 NanoSeconds; local
210 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
220 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
222 return NanoSeconds;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SecPeiDxeTimerLibCpu/
H A DIpfTimerLib.c78 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
80 @param NanoSeconds The minimum number of nanoseconds to delay.
82 @return The value of NanoSeconds inputted.
88 IN UINTN NanoSeconds
93 NanoSeconds /
96 return NanoSeconds;
192 UINT64 NanoSeconds; local
203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
213 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
215 return NanoSeconds;
[all...]
H A DX86TimerLib.c161 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
163 @param NanoSeconds The minimum number of nanoseconds to delay.
165 @return The value of NanoSeconds inputted.
171 IN UINTN NanoSeconds
182 NanoSeconds
187 return NanoSeconds;
277 UINT64 NanoSeconds; local
288 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
298 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
300 return NanoSeconds;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/
H A DIpfTimerLib.c78 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
80 @param NanoSeconds The minimum number of nanoseconds to delay.
82 @return The value of NanoSeconds inputted.
88 IN UINTN NanoSeconds
93 NanoSeconds /
96 return NanoSeconds;
192 UINT64 NanoSeconds; local
203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
213 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
215 return NanoSeconds;
[all...]
H A DX86TimerLib.c107 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
109 @param NanoSeconds The minimum number of nanoseconds to delay.
111 @return The value of NanoSeconds inputted.
117 IN UINTN NanoSeconds
124 NanoSeconds
129 return NanoSeconds;
215 UINT64 NanoSeconds; local
226 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
236 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
238 return NanoSeconds;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/Library/AcpiTimerLib/
H A DAcpiTimerLib.c156 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
158 @param NanoSeconds The minimum number of nanoseconds to delay.
160 @return NanoSeconds
166 IN UINTN NanoSeconds
172 NanoSeconds,
178 return NanoSeconds;
260 UINT64 NanoSeconds; local
268 NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, ACPI_TIMER_FREQUENCY, &Remainder), 1000000000u);
274 NanoSeconds += DivU64x32 (MultU64x32 ((UINT64) Remainder, 1000000000u), ACPI_TIMER_FREQUENCY);
276 return NanoSeconds;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/PerformancePkg/Library/TscTimerLib/
H A DTscTimerLibShare.c146 /** Stalls the CPU for at least the specified number of NanoSeconds.
148 @param[in] NanoSeconds The minimum number of nanoseconds to delay.
150 @return The value of NanoSeconds input.
156 IN UINTN NanoSeconds
163 (UINT32)NanoSeconds
168 return NanoSeconds;
251 UINT64 NanoSeconds; local
262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
272 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
274 return NanoSeconds;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/AcpiTimerLib/
H A DAcpiTimerLib.c202 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
204 @param NanoSeconds The minimum number of nanoseconds to delay.
206 @return NanoSeconds
212 IN UINTN NanoSeconds
218 NanoSeconds,
224 return NanoSeconds;
306 UINT64 NanoSeconds; local
314 NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, ACPI_TIMER_FREQUENCY, &Remainder), 1000000000u);
320 NanoSeconds += DivU64x32 (MultU64x32 ((UINT64) Remainder, 1000000000u), ACPI_TIMER_FREQUENCY);
322 return NanoSeconds;
[all...]

Completed in 111 milliseconds