Home
last modified time | relevance | path

Searched refs:rates (Results 1 – 25 of 70) sorted by relevance

123

/external/iptables/extensions/
Dlibxt_limit.c112 static const struct rates struct
116 } rates[] = { { "day", XT_LIMIT_SCALE*24*60*60 }, argument
130 for (i = 1; i < ARRAY_SIZE(rates); ++i) in print_rate()
131 if (period > rates[i].mult in print_rate()
132 || rates[i].mult/period < rates[i].mult%period) in print_rate()
135 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name); in print_rate()
Dlibxt_hashlimit.c428 static const struct rates struct
432 } rates[] = { { "day", XT_HASHLIMIT_SCALE*24*60*60 }, argument
446 for (i = 1; i < ARRAY_SIZE(rates); ++i) in print_rate()
447 if (period > rates[i].mult in print_rate()
448 || rates[i].mult/period < rates[i].mult%period) in print_rate()
451 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name); in print_rate()
453 return rates[i-1].mult / XT_HASHLIMIT_SCALE * 1000; in print_rate()
Dlibxt_rateest.man1 The rate estimator can match on estimated rates as collected by the RATEEST
78 # Estimate outgoing rates
/external/autotest/client/site_tests/power_Backlight/
Dpower_Backlight.py54 rates = []
67 rates.append(rate)
70 if rates[i] <= rates[i-1]:
/external/iw/
Dibss.c27 unsigned char rates[NL80211_MAX_SUPP_RATES]; in join_ibss() local
140 rates[n_rates] = rate * 2; in join_ibss()
143 if (*end != '\0' || !rates[n_rates] || in join_ibss()
144 rate*2 != rates[n_rates]) in join_ibss()
151 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates); in join_ibss()
Dmesh.c441 unsigned char rates[NL80211_MAX_SUPP_RATES]; in join_mesh() local
523 rates[n_rates] = rate * 2; in join_mesh()
526 if (*end != '\0' || !rates[n_rates] || in join_mesh()
527 rate*2 != rates[n_rates]) in join_mesh()
534 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates); in join_mesh()
/external/chromium-trace/catapult/catapult_build/perfbot_stats/
Dchrome_perf_stats.py93 for rates in results.values():
94 if rates['count'] == 0:
97 float(rates['success_count']) / float(rates['count']))
Dchrome_perf_stats_unittest.py60 rates = chrome_perf_stats._SummarizeSuccessRates(
70 self.assertListEqual([['20151010', 0.5], ['20151009', 1.0]], rates)
/external/iproute2/misc/
Difstat.c257 double *rates = n->rate; in dump_raw_db() local
265 rates = h1->rate; in dump_raw_db()
283 (unsigned)rates[i]); in dump_raw_db()
299 const double *rates, int i) in format_rate() argument
310 if (rates[i] > mega) { in format_rate()
311 sprintf(temp, "%uM", (unsigned)(rates[i]/mega)); in format_rate()
313 } else if (rates[i] > kilo) { in format_rate()
314 sprintf(temp, "%uK", (unsigned)(rates[i]/kilo)); in format_rate()
317 fprintf(fp, "%-6u ", (unsigned)rates[i]); in format_rate()
/external/tcpdump/
Dprint-802_11.c284 struct rates_t rates; member
710 for (z = 0; z < p.rates.length ; z++) { \
711 PRINT_RATE(sep, p.rates.rate[z], \
712 (p.rates.rate[z] & 0x80 ? "*" : "")); \
715 if (p.rates.length != 0) \
1300 struct rates_t rates; in parse_elements() local
1389 memcpy(&rates, p + offset, 2); in parse_elements()
1392 if (rates.length != 0) { in parse_elements()
1393 if (rates.length > sizeof rates.rate) in parse_elements()
1395 if (!ND_TTEST2(*(p + offset), rates.length)) in parse_elements()
[all …]
/external/libopus/tests/
Dtest_opus_encode.c243 … int rates[13]={6000,12000,48000,16000,32000,48000,64000,512000,13000,24000,48000,64000,96000}; in run_test1() local
245 rate=rates[j]+fast_rand()%rates[j]; in run_test1()
272 … if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS((rates[j]>=64000?2:1)))!=OPUS_OK)test_failed(); in run_test1()
329 …int rates[16]={4000,12000,32000,8000,16000,32000,48000,88000,4000,12000,32000,8000,16000,32000,480… in run_test1() local
333 rate=rates[j]+fast_rand()%rates[j]; in run_test1()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1161 mode->rates = os_calloc(mode->num_rates, sizeof(int)); in phy_info_rates()
1162 if (!mode->rates) in phy_info_rates()
1173 mode->rates[idx] = nla_get_u32( in phy_info_rates()
1282 if (modes[m].rates[i] > 200) { in wpa_driver_nl80211_postprocess_modes()
1329 mode->rates = os_malloc(4 * sizeof(int)); in wpa_driver_nl80211_postprocess_modes()
1330 if (mode->rates == NULL) { in wpa_driver_nl80211_postprocess_modes()
1337 if (mode11g->rates[i] != 10 && mode11g->rates[i] != 20 && in wpa_driver_nl80211_postprocess_modes()
1338 mode11g->rates[i] != 55 && mode11g->rates[i] != 110) in wpa_driver_nl80211_postprocess_modes()
1340 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()
1348 os_free(mode->rates); in wpa_driver_nl80211_postprocess_modes()
[all …]
Ddriver_nl80211_scan.c245 struct nlattr *rates; in wpa_driver_nl80211_scan() local
249 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); in wpa_driver_nl80211_scan()
250 if (rates == NULL) in wpa_driver_nl80211_scan()
262 nla_nest_end(msg, rates); in wpa_driver_nl80211_scan()
1022 struct nlattr *rates; in wpa_driver_nl80211_vendor_scan() local
1026 rates = nla_nest_start(msg, in wpa_driver_nl80211_vendor_scan()
1028 if (rates == NULL) in wpa_driver_nl80211_vendor_scan()
1040 nla_nest_end(msg, rates); in wpa_driver_nl80211_vendor_scan()
Ddriver_hostap.c1117 mode->rates = os_zalloc(rlen); in hostap_get_hw_feature_data()
1118 if (mode->channels == NULL || mode->rates == NULL) { in hostap_get_hw_feature_data()
1120 os_free(mode->rates); in hostap_get_hw_feature_data()
1133 mode->rates[0] = 10; in hostap_get_hw_feature_data()
1134 mode->rates[1] = 20; in hostap_get_hw_feature_data()
1135 mode->rates[2] = 55; in hostap_get_hw_feature_data()
1136 mode->rates[3] = 110; in hostap_get_hw_feature_data()
/external/iproute2/doc/
Dnstat.sgml47 <item><tt/-t INTERVAL/ - time interval to average rates. Default value
92 for large time. Also <tt/Xstat/ daemon calculates average rates.
94 f.e. for gigabit rates byte counters overflow not more frequently than
96 From the other hand, when <tt/Xstat/ is used for estimating rates
/external/sonic/samples/
DREADME1 These wav files show how Sonic performs at increasing speech rates. All sound
23 though Sonic can speed up espeak to much faster rates.
/external/autotest/client/tests/dbench/
Dcontrol6 Its results include throughput rates, which can be used for performance
/external/autotest/client/tests/kvm/autotest_control/
Ddbench.control6 Its results include throughput rates, which can be used for performance
/external/autotest/client/site_tests/audio_CRASFormatConversion/
Dcontrol9 Check that converting between different sample rates doesn't crash.
/external/autotest/client/tests/pktgen/
Dcontrol13 generate very high packet rates and with few systems saturate network devices as
/external/valgrind/VEX/
DTODO.txt19 Assess tt_fast miss rates
/external/skia/experimental/SimpleiOSApp/iPad/
DAppDelegate_iPad.m32 …to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use …
/external/autotest/client/site_tests/video_VEAPerf/
Dcontrol.h26434 # Requested_frame_rate settings control input frame rates when measuring CPU
Dcontrol.vp834 # Requested_frame_rate settings control input frame rates when measuring CPU
/external/autotest/client/site_tests/hardware_Usb30Throughput/
Dcontrol16 DOC = """Measure transfer rates for a number of times.

123