Home
last modified time | relevance | path

Searched refs:throttle (Results 1 – 25 of 56) sorted by relevance

123

/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_throttle_test.cc101 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/
DRetriableStreamTest.java135 @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 …]
DRetryPolicyTest.java179 Throttle throttle = ServiceConfigUtil.getThrottlePolicy(serviceConfig); in getThrottle() local
181 assertEquals(new Throttle(10f, 0.1f), throttle); in getThrottle()
/external/ImageMagick/Magick++/lib/Magick++/
DResourceLimits.h62 static void throttle(const MagickSizeType limit_);
63 static MagickSizeType throttle(void);
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DRetriableStream.java78 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/
Dshrink_file_throttler_unittest.py90 shrink_file_throttler.throttle(
131 shrink_file_throttler.throttle(
135 shrink_file_throttler.throttle(
Ddelete_file_throttler.py38 def throttle(summary, max_result_size_KB, function
Ddedupe_file_throttler.py75 def throttle(summary, max_result_size_KB): function
Dzip_file_throttler.py100 def throttle(summary, max_result_size_KB, function
Ddedupe_file_throttler_unittest.py73 dedupe_file_throttler.throttle(
Dshrink_file_throttler.py138 def throttle(summary, max_result_size_KB, function
/external/ImageMagick/Magick++/lib/
DResourceLimits.cpp93 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/
DCoreSlots.java173 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/
Dperf_serializer.cc637 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/
DREADME3 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.
Dio_throttle_testplan.txt32 Documentation/controllers/io-throttle.txt in kernel documentation.
/external/mesa3d/src/glx/
Ddri2_priv.h48 const __DRI2throttleExtension *throttle; member
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/kgsl/adreno_cmdbatch_recovery/
Dformat13 …{ (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/
Dformat14 … "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/
Dformat13 …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/
Dformat15 …me" }, { (1UL << (4)), "disable" }, { (1UL << (5)), "temp" }, { (1UL << (6)), "throttle"}) : "none"
/external/u-boot/drivers/thermal/
DKconfig17 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/
Dformat17 …{ (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/
Dformat23 …L << (KGSL_FT_TEMP_DISABLE)), "temp" }, { (1UL << (KGSL_FT_THROTTLE)), "throttle"}, { (1UL << (KGS…
/external/u-boot/arch/arm/dts/
Drk3288-veyron-mickey.dts114 * 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

123