Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 1149) sorted by relevance

12345678910>>...46

/external/adhd/cras/src/tests/
Dpolled_interval_checker_unittest.cc17 struct polled_interval* interval = in create_interval() local
19 EXPECT_NE(interval, static_cast<struct polled_interval*>(NULL)); in create_interval()
20 return interval; in create_interval()
25 struct polled_interval* interval = create_interval(); in TEST() local
27 pic_polled_interval_destroy(&interval); in TEST()
30 EXPECT_EQ(interval, static_cast<struct polled_interval*>(NULL)); in TEST()
40 struct polled_interval* interval = create_interval(); in TEST() local
43 EXPECT_FALSE(pic_interval_elapsed(interval)); in TEST()
50 EXPECT_FALSE(pic_interval_elapsed(interval)); in TEST()
57 EXPECT_FALSE(pic_interval_elapsed(interval)); in TEST()
[all …]
/external/icing/icing/index/iterator/
Ddoc-hit-info-iterator_benchmark.cc61 : current_docid(starting_docid), interval(n) {} in GeneratorEveryOtherN()
65 current_docid -= interval; in operator ()()
70 int interval; member
77 int interval = state.range(1); in BM_DocHitInfoIteratorAndBenchmark() local
78 std::vector<DocHitInfo> first_infos((starting_docid / interval) + 1); in BM_DocHitInfoIteratorAndBenchmark()
80 GeneratorEveryOtherN(starting_docid, interval)); in BM_DocHitInfoIteratorAndBenchmark()
87 interval *= 4; in BM_DocHitInfoIteratorAndBenchmark()
88 std::vector<DocHitInfo> second_infos((starting_docid / interval) + 1); in BM_DocHitInfoIteratorAndBenchmark()
90 GeneratorEveryOtherN(starting_docid, interval)); in BM_DocHitInfoIteratorAndBenchmark()
126 int interval = state.range(1); in BM_DocHitInfoIteratorAndNaryBenchmark() local
[all …]
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DWatchServiceConfiguration.java43 public static WatchServiceConfiguration polling(long interval, TimeUnit timeUnit) { in polling() argument
44 return new PollingConfig(interval, timeUnit); in polling()
57 private final long interval; field in WatchServiceConfiguration.PollingConfig
60 private PollingConfig(long interval, TimeUnit timeUnit) { in PollingConfig() argument
61 checkArgument(interval > 0, "interval (%s) must be positive", interval); in PollingConfig()
62 this.interval = interval; in PollingConfig()
68 return new PollingWatchService(view, pathService, view.state(), interval, timeUnit); in newWatchService()
73 return "WatchServiceConfiguration.polling(" + interval + ", " + timeUnit + ")"; in toString()
/external/webp/src/enc/
Dbackward_references_cost_enc.c203 CostInterval* const interval) { in CostIntervalAddToFreeList() argument
204 interval->next_ = manager->free_intervals_; in CostIntervalAddToFreeList()
205 manager->free_intervals_ = interval; in CostIntervalAddToFreeList()
209 const CostInterval* const interval) { in CostIntervalIsInFreeList() argument
210 return (interval >= &manager->intervals_[0] && in CostIntervalIsInFreeList()
211 interval <= &manager->intervals_[COST_MANAGER_MAX_FREE_LIST - 1]); in CostIntervalIsInFreeList()
223 const CostInterval* interval) { in DeleteIntervalList() argument
224 while (interval != NULL) { in DeleteIntervalList()
225 const CostInterval* const next = interval->next_; in DeleteIntervalList()
226 if (!CostIntervalIsInFreeList(manager, interval)) { in DeleteIntervalList()
[all …]
/external/linux-kselftest/tools/testing/selftests/timers/
Dset-timer-lat.c115 void describe_timer(int flags, int interval) in describe_timer() argument
120 interval ? "PERIODIC":"ONE-SHOT"); in describe_timer()
123 int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) in setup_timer() argument
161 its1.it_interval.tv_sec = interval; in setup_timer()
173 int check_timer_latency(int flags, int interval) in check_timer_latency() argument
177 describe_timer(flags, interval); in check_timer_latency()
186 describe_timer(flags, interval); in check_timer_latency()
198 int check_alarmcount(int flags, int interval) in check_alarmcount() argument
200 describe_timer(flags, interval); in check_alarmcount()
213 const int interval = TIMER_SECS; in do_timer() local
[all …]
/external/llvm-project/openmp/runtime/src/
Dkmp_stats_timing.cpp88 std::string formatSI(double interval, int width, char unit) { in formatSI() argument
103 if (interval == 0.0) { in formatSI()
110 if (interval < 0.0) { in formatSI()
112 interval = -interval; in formatSI()
116 if (interval * ranges[i].scale < 1.e0) { in formatSI()
117 interval = interval * 1000.e0 * ranges[i].scale; in formatSI()
119 << std::right << (negative ? -interval : interval) << std::setw(2) in formatSI()
127 << interval << std::setw(3) << unit; in formatSI()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/
D2-1.c22 struct timespec interval; in main() local
33 interval.tv_sec = -1; in main()
34 interval.tv_nsec = -1; in main()
36 result = sched_rr_get_interval(0, &interval); in main()
39 interval.tv_sec >= 0 && interval.tv_nsec >= 0 && errno == 0) { in main()
44 if (interval.tv_sec == -1) { in main()
49 if (interval.tv_nsec == -1) { in main()
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Dcombine_latest.cpp8 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(2));
9 auto o2 = rxcpp::observable<>::interval(std::chrono::milliseconds(3));
10 auto o3 = rxcpp::observable<>::interval(std::chrono::milliseconds(5));
26 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(2)).map([](int v) { in __anonadd8ac180302()
30 auto o2 = rxcpp::observable<>::interval(std::chrono::milliseconds(3)).map([](int v) { in __anonadd8ac180402()
34 auto o3 = rxcpp::observable<>::interval(std::chrono::milliseconds(5)).map([](int v) { in __anonadd8ac180502()
51 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(2));
52 auto o2 = rxcpp::observable<>::interval(std::chrono::milliseconds(3));
53 auto o3 = rxcpp::observable<>::interval(std::chrono::milliseconds(5));
69 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(2));
[all …]
Dwith_latest_from.cpp8 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(2));
9 auto o2 = rxcpp::observable<>::interval(std::chrono::milliseconds(3));
10 auto o3 = rxcpp::observable<>::interval(std::chrono::milliseconds(5));
26 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(2)).map([](int v) { in __anon6b5a404a0302()
30 auto o2 = rxcpp::observable<>::interval(std::chrono::milliseconds(3)).map([](int v) { in __anon6b5a404a0402()
34 auto o3 = rxcpp::observable<>::interval(std::chrono::milliseconds(5)).map([](int v) { in __anon6b5a404a0502()
51 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(2));
52 auto o2 = rxcpp::observable<>::interval(std::chrono::milliseconds(3));
53 auto o3 = rxcpp::observable<>::interval(std::chrono::milliseconds(5));
69 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(2));
[all …]
Dzip.cpp8 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(1));
9 auto o2 = rxcpp::observable<>::interval(std::chrono::milliseconds(2));
10 auto o3 = rxcpp::observable<>::interval(std::chrono::milliseconds(3));
26 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(1)).map([](int v) { in __anon3bb890620302()
30 auto o2 = rxcpp::observable<>::interval(std::chrono::milliseconds(2)).map([](int v) { in __anon3bb890620402()
34 auto o3 = rxcpp::observable<>::interval(std::chrono::milliseconds(3)).map([](int v) { in __anon3bb890620502()
51 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(1));
52 auto o2 = rxcpp::observable<>::interval(std::chrono::milliseconds(2));
53 auto o3 = rxcpp::observable<>::interval(std::chrono::milliseconds(3));
69 auto o1 = rxcpp::observable<>::interval(std::chrono::milliseconds(1));
[all …]
/external/webrtc/media/base/
Dvideo_common.h138 int64_t interval; // Nanoseconds. member
153 Construct(format.width, format.height, format.interval, format.fourcc); in VideoFormat()
159 interval = interval_ns; in Construct()
167 static int IntervalToFps(int64_t interval) { in IntervalToFps()
168 if (!interval) { in IntervalToFps()
171 return static_cast<int>(rtc::kNumNanosecsPerSec / interval); in IntervalToFps()
174 static float IntervalToFpsFloat(int64_t interval) { in IntervalToFpsFloat()
175 if (!interval) { in IntervalToFpsFloat()
179 static_cast<float>(interval); in IntervalToFpsFloat()
184 interval == format.interval && fourcc == format.fourcc;
[all …]
/external/tcpdump/tests/
Dbabel_rtt.out2 Hello seqno 58805 interval 4.00s sub-timestamp 2222.954827s
4 Hello seqno 15585 interval 4.00s sub-timestamp 94.665527s
5 IHU fe80::5054:ff:fe85:5da9 txcost 96 interval 12.00s sub-timestamp 2222.954827s|91.378052s
7 Hello seqno 58806 interval 4.00s sub-timestamp 2226.449854s
8 IHU fe80::5054:ff:fe23:4567 txcost 96 interval 12.00s sub-timestamp 90.173759s|2222.137366s
10 Hello seqno 58807 interval 4.00s sub-timestamp 2229.725353s
12 Hello seqno 15586 interval 4.00s sub-timestamp 98.956759s
14 Hello seqno 15587 interval 4.00s sub-timestamp 102.558329s
16 Hello seqno 58808 interval 4.00s sub-timestamp 2234.612063s
18 Hello seqno 15588 interval 4.00s sub-timestamp 106.492002s
[all …]
Dbabel1v.out2 Hello seqno 8042 interval 20.00s
4 Hello seqno 40102 interval 20.00s
6 …Update/prefix/id 2001:660:3301:8063:218:84ff:fe1a:615d/128 metric 1 seqno 32272 interval 80.00s su…
8 Update 192.168.4.195/32 metric 1 seqno 32272 interval 80.00s sub-diversity 6
9 …Update/prefix/id 2001:660:3301:8063:218:f3ff:fea9:914e/128 metric 0 seqno 40149 interval 80.00s su…
10 Update ::/0 metric 196 seqno 40149 interval 80.00s sub-diversity empty
11 Update 192.168.4.25/32 metric 0 seqno 40149 interval 80.00s sub-diversity empty
13 Hello seqno 8043 interval 20.00s
14 IHU fe80::3428:af91:251:d626 txcost 96 interval 60.00s
16 Hello seqno 40103 interval 20.00s
[all …]
/external/webrtc/test/pc/e2e/
Dtest_activities_executor.cc53 absl::optional<TimeDelta> interval, in ScheduleActivity() argument
57 RTC_CHECK(!interval || in ScheduleActivity()
58 (interval->IsFinite() && *interval > TimeDelta::Zero())); in ScheduleActivity()
60 ScheduledActivity activity(initial_delay_since_start, interval, func); in ScheduleActivity()
83 if (activity.interval) { in PostActivity()
88 return *activity.interval; in PostActivity()
95 return *activity.interval; in PostActivity()
117 absl::optional<TimeDelta> interval, in ScheduledActivity() argument
120 interval(interval), in ScheduledActivity()
/external/google-fruit/extras/benchmark/
Dformat_bench_results.py106 …min_in_table = min([min([min(interval[0][0], interval[1][0]) for interval in values_by_row[row_hea…
108 …max_in_table = max([max([max(interval[0][1], interval[1][1]) for interval in values_by_row[row_hea…
201 def interval_pretty_printer(interval: Interval, unit: str, multiplier: float) -> str:
202 interval = list(interval) # type: List[Any]
203 interval[0] *= multiplier
204 interval[1] *= multiplier
209 if int(interval[0]) == interval[0] and interval[0] >= 10:
210 interval[0] = int(interval[0])
212 interval[0] = float_to_str(interval[0])
213 if int(interval[1]) == interval[1] and interval[1] >= 10:
[all …]
/external/autotest/client/profilers/screenshot/
Dscreenshot.py19 def initialize(self, interval=300): argument
25 self.interval = interval
28 self.thread = ScreenshotThread(interval=self.interval, test=test)
39 def __init__(self, interval, test): argument
42 self.interval = interval
73 sleep_time = self.interval - (end_time - start_time)
/external/webrtc/modules/congestion_controller/pcc/
Dmonitor_interval_unittest.cc57 PccMonitorInterval interval{kTargetSendingRate, kStartTime, in TEST() local
59 EXPECT_EQ(interval.IsFeedbackCollectionDone(), false); in TEST()
60 EXPECT_EQ(interval.GetEndTime(), kStartTime + kIntervalDuration); in TEST()
61 EXPECT_EQ(interval.GetTargetSendingRate(), kTargetSendingRate); in TEST()
65 PccMonitorInterval interval{kTargetSendingRate, kStartTime, in TEST() local
67 interval.OnPacketsFeedback(CreatePacketResults({kStartTime})); in TEST()
68 EXPECT_EQ(interval.IsFeedbackCollectionDone(), false); in TEST()
69 interval.OnPacketsFeedback( in TEST()
71 EXPECT_EQ(interval.IsFeedbackCollectionDone(), false); in TEST()
72 interval.OnPacketsFeedback(CreatePacketResults( in TEST()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dautoscan_exponential.c19 int interval; member
84 if (data->interval >= data->limit) in autoscan_exponential_notify_scan()
87 if (data->interval <= 0) in autoscan_exponential_notify_scan()
88 data->interval = data->base; in autoscan_exponential_notify_scan()
90 data->interval = data->interval * data->base; in autoscan_exponential_notify_scan()
91 if (data->interval > data->limit) in autoscan_exponential_notify_scan()
95 return data->interval; in autoscan_exponential_notify_scan()
/external/iptables/extensions/
Dlibxt_RATEEST.c15 unsigned int interval; member
98 if (RATEEST_get_time(&udata->interval, cb->arg) < 0) in RATEEST_parse()
117 for (info->interval = 0; info->interval <= 5; info->interval++) { in RATEEST_final_check()
118 if (udata->interval <= (1 << info->interval) * (TIME_UNITS_PER_SEC / 4)) in RATEEST_final_check()
122 if (info->interval > 5) in RATEEST_final_check()
125 info->interval -= 2; in RATEEST_final_check()
129 if (udata->interval / (-log(w)) > udata->ewma_log) in RATEEST_final_check()
146 local_interval = (TIME_UNITS_PER_SEC << (info->interval + 2)) / 4; in __RATEEST_print()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dpcan_gain_control_util.c66 int interval; in PcanGainControlPopulateState() local
67 for (interval = 2; interval <= kWideDynamicFunctionBits; ++interval) { in PcanGainControlPopulateState()
68 const uint32_t x0 = (uint32_t)1 << (interval - 1); in PcanGainControlPopulateState()
71 (interval == kWideDynamicFunctionBits) ? x0 + (x0 - 1) : 2 * x0; in PcanGainControlPopulateState()
82 state->gain_lut[4 * interval] = y0; in PcanGainControlPopulateState()
83 state->gain_lut[4 * interval + 1] = (int16_t)a1; in PcanGainControlPopulateState()
84 state->gain_lut[4 * interval + 2] = (int16_t)a2; in PcanGainControlPopulateState()
/external/iproute2/tc/
Dtc_estimator.c28 for (est->interval = 0; est->interval <= 5; est->interval++) { in tc_setup_estimator()
29 if (A <= (1<<est->interval)*(TIME_UNITS_PER_SEC/4)) in tc_setup_estimator()
32 if (est->interval > 5) in tc_setup_estimator()
34 est->interval -= 2; in tc_setup_estimator()
/external/ImageMagick/MagickCore/
Dstring-private.h29 const double interval) in SiPrefixToDoubleInterval() argument
39 value*=interval/100.0; in SiPrefixToDoubleInterval()
89 const double interval) in StringToDoubleInterval() argument
99 value*=interval/100.0; in StringToDoubleInterval()
114 const double interval) in StringToMagickSizeType() argument
119 value=SiPrefixToDoubleInterval(string,interval); in StringToMagickSizeType()
125 static inline size_t StringToSizeType(const char *string,const double interval) in StringToSizeType() argument
130 value=SiPrefixToDoubleInterval(string,interval); in StringToSizeType()
/external/ltp/testcases/lib/
Dtst_sleep.c32 long interval, secs = 0, usecs = 0; in main() local
53 interval = strtol(argv[optind], &end, 10); in main()
74 secs = interval; in main()
77 secs = interval / 1000; in main()
78 usecs = (interval % 1000) * 1000; in main()
82 secs = interval / 1000000; in main()
83 usecs = interval % 1000000; in main()
/external/autotest/client/profilers/cros_perf/
Dcros_perf.py27 def initialize(self, interval=120, duration=10, profile_type='record'): argument
37 self.interval = interval
52 interval=self.interval,
66 def __init__(self, interval, duration, profile_type, test): argument
69 self.interval = interval
116 sleep_time = self.interval - (end_time - start_time)
/external/crosvm/sys_util/src/
Dtimerfd.rs46 pub fn reset(&self, dur: Duration, interval: Option<Duration>) -> Result<()> { in reset()
54 if let Some(int) = interval { in reset()
159 interval: Option<Duration>, field
170 interval: None, in new()
182 pub fn reset(&mut self, dur: Duration, interval: Option<Duration>) -> Result<()> { in reset()
186 self.interval = interval; in reset()
202 if let Some(interval) = self.interval { in wait()
203 let interval_ns = FakeTimerFd::duration_to_nanos(interval); in wait()
224 self.interval = None; in clear()
274 let interval = Duration::from_millis(100); in repeating() localVariable
[all …]

12345678910>>...46