/external/tensorflow/tensorflow/core/grappler/optimizers/ |
static_schedule.h | 36 std::unordered_map<const NodeDef*, Costs::NanoSeconds>* execution_times); 43 const std::unordered_map<const NodeDef*, Costs::NanoSeconds>& 45 std::unordered_map<const NodeDef*, Costs::NanoSeconds>* required_times);
|
static_schedule_test.cc | 56 std::unordered_map<const NodeDef*, Costs::NanoSeconds> completion_times; 65 EXPECT_EQ(Costs::NanoSeconds(1), time.second); 67 EXPECT_EQ(Costs::NanoSeconds(250001), time.second); 69 EXPECT_EQ(Costs::NanoSeconds(1500004), time.second); 71 EXPECT_EQ(Costs::NanoSeconds(2750007), time.second); 73 EXPECT_EQ(Costs::NanoSeconds(4000010), time.second); 75 EXPECT_EQ(Costs::NanoSeconds(5250013), time.second); 77 EXPECT_EQ(Costs::NanoSeconds(6500013), time.second); 102 std::unordered_map<const NodeDef*, Costs::NanoSeconds> completion_times; 111 EXPECT_EQ(Costs::NanoSeconds(1), time.second) [all...] |
static_schedule.cc | 30 static Costs::NanoSeconds PredictExecutionTime( 46 Costs::NanoSeconds estimate = 50 return std::max(estimate, Costs::NanoSeconds(1)); 55 std::unordered_map<const NodeDef*, Costs::NanoSeconds>* completion_times) { 97 Costs::NanoSeconds execution_time = 99 Costs::NanoSeconds completion_time = 113 Costs::NanoSeconds ready_time = 124 const std::unordered_map<const NodeDef*, Costs::NanoSeconds>& 126 std::unordered_map<const NodeDef*, Costs::NanoSeconds>* required_times) { 130 (*required_times)[&node] = Costs::NanoSeconds::max() [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/Library/AcpiTimerLib/ |
AcpiTimerLib.c | 93 Stalls the CPU for at least the given number of nanoseconds.
95 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
97 @param NanoSeconds The minimum number of nanoseconds to delay.
99 @return NanoSeconds
105 IN UINTN NanoSeconds
111 NanoSeconds,
117 return NanoSeconds;
183 Converts elapsed ticks of performance counter to time in nanoseconds. [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/ |
IntelPchAcpiTimerLib.c | 144 Stalls the CPU for at least the given number of nanoseconds.
146 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
148 @param NanoSeconds The minimum number of nanoseconds to delay.
150 @return NanoSeconds
156 IN UINTN NanoSeconds
162 NanoSeconds,
168 return NanoSeconds;
234 Converts elapsed ticks of performance counter to time in nanoseconds. [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmArchTimerLib/ |
ArmArchTimerLib.c | 152 Stalls the CPU for at least the given number of nanoseconds.
154 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
159 @param NanoSeconds The minimum number of nanoseconds to delay.
161 @return The value of NanoSeconds inputed.
167 IN UINTN NanoSeconds
173 MicroSeconds = NanoSeconds / 1000;
174 MicroSeconds += ((NanoSeconds % 1000) == 0) ? 0 : 1;
178 return NanoSeconds;
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/Ebc/ |
EbcTimerLib.c | 53 Stalls the CPU for at least the given number of nanoseconds.
55 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
57 @param NanoSeconds The minimum number of nanoseconds to delay.
59 @return NanoSeconds
65 IN UINTN NanoSeconds
72 return NanoSeconds;
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeTimerLibEsal/ |
DxeTimerLibEsal.c | 58 Stalls the CPU for at least the given number of nanoseconds.
61 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
79 // at least the given number of nanoseconds.
81 MicroSeconds = DivU64x32 (NanoSeconds + 999, 1000);
94 return NanoSeconds;
[all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/SecPeiDxeTimerLibCpu/ |
IpfTimerLib.c | 76 Stalls the CPU for at least the given number of nanoseconds.
78 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;
175 Converts elapsed ticks of performance counter to time in nanoseconds. [all...] |
X86TimerLib.c | 237 Stalls the CPU for at least the given number of nanoseconds.
239 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
241 @param NanoSeconds The minimum number of nanoseconds to delay.
243 @return The value of NanoSeconds inputted.
249 IN UINTN NanoSeconds
260 NanoSeconds
265 return NanoSeconds;
334 Converts elapsed ticks of performance counter to time in nanoseconds. [all...] |
/device/linaro/bootloader/edk2/PerformancePkg/Library/TscTimerLib/ |
TscTimerLibShare.c | 146 /** 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;
234 Converts elapsed ticks of performance counter to time in nanoseconds.
237 time value in unit of nanoseconds.
241 @return The elapsed time in nanoseconds. [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/ |
IpfTimerLib.c | 76 Stalls the CPU for at least the given number of nanoseconds.
78 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;
175 Converts elapsed ticks of performance counter to time in nanoseconds. [all...] |
X86TimerLib.c | 136 Stalls the CPU for at least the given number of nanoseconds.
138 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
140 @param NanoSeconds The minimum number of nanoseconds to delay.
142 @return The value of NanoSeconds inputted.
148 IN UINTN NanoSeconds
155 NanoSeconds
160 return NanoSeconds;
225 Converts elapsed ticks of performance counter to time in nanoseconds. [all...] |
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/Omap35xxTimerLib/ |
TimerLib.c | 63 UINT64 NanoSeconds;
65 NanoSeconds = MultU64x32(MicroSeconds, 1000);
67 while (NanoSeconds > (UINTN)-1) {
69 NanoSeconds -= (UINTN)-1;
72 NanoSecondDelay(NanoSeconds);
80 IN UINTN NanoSeconds
89 Delay = (NanoSeconds / PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds)) + 1;
101 NanoSeconds = ElapsedTime * PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds);
103 return NanoSeconds;
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeCoreTimerLib/ |
DxeCoreTimerLib.c | 47 Stalls the CPU for at least the given number of nanoseconds.
49 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
51 @param NanoSeconds The minimum number of nanoseconds to delay.
53 @return The value of NanoSeconds inputted.
59 IN UINTN NanoSeconds
62 gEmuThunk->Sleep (NanoSeconds);
63 return NanoSeconds;
|
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetTimerLib/ |
X86TimerLib.c | 146 Stalls the CPU for at least the given number of nanoseconds.
148 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
150 @param NanoSeconds The minimum number of nanoseconds to delay.
152 @return NanoSeconds
158 IN UINTN NanoSeconds
162 return NanoSeconds;
168 NanoSeconds,
174 return NanoSeconds;
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
EdkIIGlueTimerLib.h | 43 Stalls the CPU for at least the given number of nanoseconds.
45 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
47 @param NanoSeconds The minimum number of nanoseconds to delay.
49 @return NanoSeconds
55 IN UINTN NanoSeconds
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/AcpiTimerLib/ |
AcpiTimerLib.c | 144 Stalls the CPU for at least the given number of nanoseconds.
146 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
148 @param NanoSeconds The minimum number of nanoseconds to delay.
150 @return NanoSeconds
156 IN UINTN NanoSeconds
162 NanoSeconds,
168 return NanoSeconds;
234 Converts elapsed ticks of performance counter to time in nanoseconds. [all...] |
/external/tensorflow/tensorflow/core/grappler/costs/ |
cost_estimator.h | 66 struct NanoSeconds : std::chrono::nanoseconds { 67 NanoSeconds() : std::chrono::nanoseconds(0) {} 68 NanoSeconds(double d) : std::chrono::nanoseconds(static_cast<int64>(d)) {} 69 NanoSeconds(const std::chrono::nanoseconds& d) 70 : std::chrono::nanoseconds(d) {} 71 NanoSeconds& operator=(const std::chrono::nanoseconds& d) [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
TimerLib.h | 35 Stalls the CPU for at least the given number of nanoseconds.
37 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
39 @param NanoSeconds The minimum number of nanoseconds to delay.
41 @return The value of NanoSeconds inputted.
47 IN UINTN NanoSeconds
98 Converts elapsed ticks of performance counter to time in nanoseconds.
101 time value in unit of nanoseconds.
105 @return The elapsed time in nanoseconds. [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/Ipf/ |
IpfTimerLib.c | 85 Stalls the CPU for at least the given number of nanoseconds.
87 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
89 @param NanoSeconds The minimum number of nanoseconds to delay.
91 @return NanoSeconds
97 IN UINTN NanoSeconds
102 NanoSeconds /
105 return NanoSeconds;
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/PeiTimerLib/ |
PeiTimerLib.c | 43 Stalls the CPU for at least the given number of nanoseconds.
45 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
47 @param NanoSeconds The minimum number of nanoseconds to delay.
49 @return The value of NanoSeconds inputted.
55 IN UINTN NanoSeconds
73 Thunk->Sleep (NanoSeconds * 100);
74 return NanoSeconds;
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeTimerLib/ |
DxeTimerLib.c | 45 // Convert to Nanoseconds.
78 Stalls the CPU for at least the given number of nanoseconds.
80 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
82 @param NanoSeconds The minimum number of nanoseconds to delay.
84 @return The value of NanoSeconds inputted.
90 IN UINTN NanoSeconds
98 ((UINT64)NanoSeconds > gTimerPeriod) &&
104 HundredNanoseconds = DivU64x32 (NanoSeconds, 100); [all...] |
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/AcpiTimerLib/ |
AcpiTimerLib.c | 207 Stalls the CPU for at least the given number of nanoseconds.
209 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
211 @param NanoSeconds The minimum number of nanoseconds to delay.
213 @return NanoSeconds
219 IN UINTN NanoSeconds
225 NanoSeconds,
231 return NanoSeconds;
296 Converts elapsed ticks of performance counter to time in nanoseconds. [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/ |
X86TimerLib.c | 182 Stalls the CPU for at least the given number of nanoseconds.
184 Stalls the CPU for the number of nanoseconds specified by NanoSeconds.
186 @param NanoSeconds The minimum number of nanoseconds to delay.
188 @return NanoSeconds
194 IN UINTN NanoSeconds
205 NanoSeconds
210 return NanoSeconds;
|