/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_throttle_test.cc | 101 GcsThrottle throttle(&time); in TEST() local 102 ASSERT_FALSE(throttle.is_enabled()); // Verify throttle is disabled. in TEST() 104 EXPECT_EQ(0, throttle.available_tokens()); in TEST() 106 EXPECT_EQ(100000, throttle.available_tokens()); in TEST() 107 EXPECT_TRUE(throttle.AdmitRequest()); in TEST() 108 EXPECT_EQ(99900, throttle.available_tokens()); in TEST() 110 EXPECT_EQ(199900, throttle.available_tokens()); in TEST() 111 throttle.RecordResponse(128000000); // 128 MB response. in TEST() 112 EXPECT_LT(0, throttle.available_tokens()); in TEST() 114 EXPECT_TRUE(throttle.AdmitRequest()); in TEST()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | RetriableStreamTest.java | 135 @Nullable Throttle throttle) { in RecordedRetriableStream() argument 151 throttle); in RecordedRetriableStream() 179 private RetriableStream<String> newThrottledRetriableStream(Throttle throttle) { in newThrottledRetriableStream() argument 183 HedgingPolicy.DEFAULT, throttle); in newThrottledRetriableStream() 1191 public void throttle() { in throttle() method in RetriableStreamTest 1192 Throttle throttle = new Throttle(4f, 0.8f); in throttle() local 1193 assertTrue(throttle.isAboveThreshold()); in throttle() 1194 assertTrue(throttle.onQualifiedFailureThenCheckIsAboveThreshold()); // token = 3 in throttle() 1195 assertTrue(throttle.isAboveThreshold()); in throttle() 1196 assertFalse(throttle.onQualifiedFailureThenCheckIsAboveThreshold()); // token = 2 in throttle() [all …]
|
D | RetryPolicyTest.java | 179 Throttle throttle = ServiceConfigUtil.getThrottlePolicy(serviceConfig); in getThrottle() local 181 assertEquals(new Throttle(10f, 0.1f), throttle); in getThrottle()
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | ResourceLimits.h | 62 static void throttle(const MagickSizeType limit_); 63 static MagickSizeType throttle(void);
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | RetriableStream.java | 78 private final Throttle throttle; field in RetriableStream 102 @Nullable Throttle throttle) { in RetriableStream() argument 112 this.throttle = throttle; in RetriableStream() 540 if (throttle != null) { in headersRead() 541 throttle.onSuccess(); in headersRead() 652 if (throttle != null) { in makeRetryDecision() 654 isThrottled = !throttle.onQualifiedFailureThenCheckIsAboveThreshold(); in makeRetryDecision()
|
/external/autotest/client/bin/result_tools/ |
D | shrink_file_throttler_unittest.py | 90 shrink_file_throttler.throttle( 131 shrink_file_throttler.throttle( 135 shrink_file_throttler.throttle(
|
D | delete_file_throttler.py | 38 def throttle(summary, max_result_size_KB, function
|
D | dedupe_file_throttler.py | 75 def throttle(summary, max_result_size_KB): function
|
D | zip_file_throttler.py | 100 def throttle(summary, max_result_size_KB, function
|
D | dedupe_file_throttler_unittest.py | 73 dedupe_file_throttler.throttle(
|
D | shrink_file_throttler.py | 138 def throttle(summary, max_result_size_KB, function
|
/external/ImageMagick/Magick++/lib/ |
D | ResourceLimits.cpp | 93 void Magick::ResourceLimits::throttle(const MagickSizeType limit_) in throttle() function in Magick::ResourceLimits 98 MagickCore::MagickSizeType Magick::ResourceLimits::throttle(void) in throttle() function in Magick::ResourceLimits
|
/external/libese/apps/weaver/card/src/com/android/weaver/core/ |
D | CoreSlots.java | 173 if (throttle(sRemainingBackoff, (short) 0, mFailureCount)) { in read() 210 private static boolean throttle(byte[] bArray, short bOff, short failureCount) { in throttle() method in CoreSlots.Slot
|
/external/perf_data_converter/src/quipper/ |
D | perf_serializer.cc | 637 const struct throttle_event& throttle = event.throttle; in SerializeThrottleEvent() local 638 sample->set_time_ns(throttle.time); in SerializeThrottleEvent() 639 sample->set_id(throttle.id); in SerializeThrottleEvent() 640 sample->set_stream_id(throttle.stream_id); in SerializeThrottleEvent() 647 struct throttle_event& throttle = event->throttle; in DeserializeThrottleEvent() local 648 throttle.time = sample.time_ns(); in DeserializeThrottleEvent() 649 throttle.id = sample.id(); in DeserializeThrottleEvent() 650 throttle.stream_id = sample.stream_id(); in DeserializeThrottleEvent()
|
/external/ltp/testcases/kernel/controllers/io-throttle/ |
D | README | 3 The directory io-throttle contains the tests related to block device I/O 25 This file contains the functions which are common for the io-throttle tests.
|
D | io_throttle_testplan.txt | 32 Documentation/controllers/io-throttle.txt in kernel documentation.
|
/external/mesa3d/src/glx/ |
D | dri2_priv.h | 48 const __DRI2throttleExtension *throttle; member
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/kgsl/adreno_cmdbatch_recovery/ |
D | format | 13 …{ (1UL << (4)), "disable" }, { (1UL << (5)), "temp" }, { (1UL << (6)), "throttle"}, { (1UL << (7))…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/kgsl/adreno_cmdbatch_recovery/ |
D | format | 14 … "skipframe" }, { (1UL << (4)), "disable" }, { (1UL << (5)), "temp" }, { (1UL << (6)), "throttle"})
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/adreno_cmdbatch_recovery/ |
D | format | 13 …L << (KGSL_FT_TEMP_DISABLE)), "temp" }, { (1UL << (KGSL_FT_THROTTLE)), "throttle"}, { (1UL << (KGS…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/kgsl/adreno_cmdbatch_retired/ |
D | format | 15 …me" }, { (1UL << (4)), "disable" }, { (1UL << (5)), "temp" }, { (1UL << (6)), "throttle"}) : "none"
|
/external/u-boot/drivers/thermal/ |
D | Kconfig | 17 cpufreq is used as the cooling device to throttle CPUs when the
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/kgsl/adreno_cmdbatch_retired/ |
D | format | 17 …{ (1UL << (4)), "disable" }, { (1UL << (5)), "temp" }, { (1UL << (6)), "throttle"}, { (1UL << (7))…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/adreno_cmdbatch_retired/ |
D | format | 23 …L << (KGSL_FT_TEMP_DISABLE)), "temp" }, { (1UL << (KGSL_FT_THROTTLE)), "throttle"}, { (1UL << (KGS…
|
/external/u-boot/arch/arm/dts/ |
D | rk3288-veyron-mickey.dts | 114 * After 1st level, throttle the CPU down to as low as 1.4 GHz 116 * won't throttle the GPU lower than 400 MHz due to CPU
|