Searched refs:rate (Results 1 - 25 of 143) sorted by relevance

123456

/external/iproute2/tc/
H A Dtc_cbq.h4 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt,
6 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt,
H A Dq_tbf.c28 fprintf(stderr, "Usage: ... tbf limit BYTES burst BYTES[/BYTES] rate KBPS [ mtu BYTES[/BYTES] ]\n");
114 } else if (strcmp(*argv, "rate") == 0) {
116 if (opt.rate.rate) {
117 fprintf(stderr, "Double \"rate\" spec\n");
120 if (get_rate(&opt.rate.rate, *argv)) {
121 explain1("rate");
127 if (opt.peakrate.rate) {
131 if (get_rate(&opt.peakrate.rate, *arg
[all...]
H A Dm_police.c37 fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu BYTES[/BYTES] ]\n");
192 } else if (strcmp(*argv, "rate") == 0) {
194 if (p.rate.rate) {
195 fprintf(stderr, "Double \"rate\" spec\n");
198 if (get_rate(&p.rate.rate, *argv)) {
199 explain1("rate");
214 if (p.peakrate.rate) {
218 if (get_rate(&p.peakrate.rate, *arg
[all...]
H A Dq_htb.c35 " r2q DRR quantums are computed as rate in Bps/r2q {10}\n"
37 "... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]\n"
40 " rate rate allocated to this class (class can still borrow)\n"
42 " mpu minimum packet size used in rate computations\n"
43 " overhead per-packet size overhead used in rate computations\n"
45 " ceil definite upper class rate (no borrows) {rate}\n"
47 " mtu max packet size we create rate map for {1600}\n"
170 if (opt.ceil.rate) {
[all...]
H A Dtc_cbq.c27 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, argument
35 if (bndw != rate && maxburst) {
36 double vxmt = (double)avpkt/rate - xmt;
44 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, argument
48 double offtime = (double)avpkt/rate - (double)avpkt/bndw;
H A Dtc_core.h21 unsigned tc_calc_xmittime(unsigned rate, unsigned size);
22 unsigned tc_calc_xmitsize(unsigned rate, unsigned ticks);
H A Dq_red.c43 unsigned rate = 0; local
96 if (get_rate(&rate, *argv)) {
118 if (rate == 0)
119 get_rate(&rate, "10Mbit");
138 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) {
/external/qemu/audio/
H A Drate_template.h33 struct rate *rate = opaque; local
43 ilast = rate->ilast;
51 if (rate->opos_inc == (1ULL + UINT_MAX)) {
71 while (rate->ipos <= (rate->opos >> 32)) {
73 rate->ipos++;
85 t = (rate->opos & UINT_MAX) * (1.f / UINT_MAX);
87 t = (rate->opos & UINT_MAX) / (mixeng_real) UINT_MAX;
92 t = rate
[all...]
H A Dmixeng.c270 * Sound Tools rate change effect file.
289 struct rate { struct
301 struct rate *rate = audio_calloc (AUDIO_FUNC, 1, sizeof (*rate)); local
303 if (!rate) {
304 dolog ("Could not allocate resampler (%zu bytes)\n", sizeof (*rate));
308 rate->opos = 0;
311 rate->opos_inc = ((uint64_t) inrate << 32) / outrate;
313 rate
[all...]
/external/kernel-headers/original/linux/
H A Dclk.h66 * clk_get_rate - obtain the current clock rate (in Hz) for a clock source.
89 * clk_round_rate - adjust a rate to the exact rate a clock can provide
91 * @rate: desired clock rate in Hz
93 * Returns rounded clock rate in Hz, or negative errno.
95 long clk_round_rate(struct clk *clk, unsigned long rate);
98 * clk_set_rate - set the clock rate for a clock source
100 * @rate: desired clock rate i
[all...]
/external/libvpx/vp8/encoder/
H A Drdopt.h15 int vp8_rd_pick_intra4x4mby_modes(VP8_COMP *cpi, MACROBLOCK *mb, int *rate, int *rate_to, int *distortion);
17 int vp8_rd_pick_intra_mbuv_mode(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *rate_to, int *distortion);
/external/dropbear/libtommath/
H A Dpretty.build14 my $rate = 0;
29 if ($rate > 0) {
30 my $tleft = ($count - $i) / $rate;
57 $rate = $i/$delay;
62 printf("\nFinished building source (%d seconds, %3.2f files per second).\n", time - $starttime, $rate);
/external/speex/include/speex/
H A Dspeex_header.h64 spx_int32_t rate; /**< Sampling rate used */ member in struct:SpeexHeader
68 spx_int32_t bitrate; /**< Bit-rate used */
78 void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const struct SpeexMode *m);
/external/iproute2/misc/
H A Drtacct.c70 double rate[256*4]; member in struct:rtacct_data
133 void format_rate(FILE *fp, double rate) argument
137 if (rate > 1024*1024) {
138 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024)));
140 } else if (rate > 1024) {
141 sprintf(temp, "%uK", (unsigned)rint(rate/1024));
144 fprintf(fp, " %-10u", (unsigned)rate);
186 double *rate; local
192 rate = &kern_db->rate[real
248 double *rate; local
[all...]
H A Difstat.c59 double rate[MAXS]; member in struct:ifstat_ent
109 memset(&n->rate, 0, sizeof(n->rate));
183 unsigned rate; local
194 if (sscanf(p, "%u", &rate) != 1)
196 n->rate[i] = rate;
220 double *rates = n->rate;
228 rates = h1->rate;
334 format_rate(fp, vals, n->rate,
[all...]
/external/bluetooth/bluez/audio/
H A Dliba2dp.h31 int a2dp_init(int rate, int channels, a2dpData* dataPtr);
/external/quake/quake/src/QW/client/
H A Dnet_chan.c175 chan->rate = 1.0/2500;
189 if (chan->cleartime < realtime + MAX_BACKUP*chan->rate)
298 chan->cleartime = realtime + send.cursize*chan->rate;
300 chan->cleartime += send.cursize*chan->rate;
364 // get a rate estimation
369 double time, rate;
376 if (chan->rate > 1.0/5000)
377 chan->rate = 1.0/5000;
383 rate = chan->outgoing_size[i]/time;
384 if (rate > 500
[all...]
/external/esd/include/
H A Desd.h22 /* default sample rate for the EsounD server */
65 ESD_PROTO_SERVER_INFO, /* get server info (ver, sample rate, format) */
129 /* rate, format = (bits | channels | stream | func) */
145 int esd_play_stream( esd_format_t format, int rate,
147 int esd_play_stream_fallback( esd_format_t format, int rate,
149 int esd_monitor_stream( esd_format_t format, int rate,
151 /* int esd_monitor_stream_fallback( esd_format_t format, int rate ); */
152 int esd_record_stream( esd_format_t format, int rate,
154 int esd_record_stream_fallback( esd_format_t format, int rate,
156 int esd_filter_stream( esd_format_t format, int rate,
201 int rate; /* sample rate */ member in struct:esd_server_info
212 int rate; /* sample rate */ member in struct:esd_player_info
227 int rate; /* sample rate */ member in struct:esd_sample_info
[all...]
/external/ppp/pppd/plugins/pppoatm/
H A Dtext2qos.c30 unsigned int rate,fract; local
37 rate = strtoul(*text,&end,10);
47 if (rate > UINT_MAX/1000) return RATE_ERROR;
48 rate *= 1000;
63 rate += fract;
69 rate = (rate+(up ? 8*ATM_CELL_PAYLOAD-1 : 0))/8/
74 if (rate > INT_MAX) return RATE_ERROR;
76 return rate;
/external/iproute2/testsuite/tests/
H A Dpolicer4 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
5 $TC filter add dev $DEV parent 10:0 protocol ip prio 10 u32 match ip protocol 1 0xff police rate 2kbit buffer 10k drop flowid 10:12
11 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
12 $TC filter add dev $DEV parent 10:0 protocol ip prio 10 u32 match ip protocol 1 0xff police rate 2kbit buffer 10k drop flowid 10:12
H A Dcbq.t4 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
9 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
/external/iproute2/examples/
H A Dcbqinit.eth118 # rate == all the bandwidth
21 # est 1sec 8sec means, that kernel will evaluate average rate
23 # This rate is viewed with "tc -s class ls dev $DEVICE"
26 $BANDWIDTH rate 10Mbit allot 1514 maxburst 50 avpkt 1000
31 # "rate". It is not necessary, weight=1 will work as well.
36 $BANDWIDTH rate 4Mbit allot 1514 weight 500Kbit \
48 $BANDWIDTH rate 1Mbit allot 1514 weight 100Kbit \
56 $BANDWIDTH rate 100Kbit allot 1514 weight 10Mbit \
64 rate 5Mbit $BANDWIDTH allot 1514b avpkt 1000 \
74 rate
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
H A Dscan_helpers.c95 int rate = 0; local
101 if ((ie[i + 2] & 0x7f) > rate)
102 rate = ie[i + 2] & 0x7f;
107 if ((ie[i + 2] & 0x7f) > rate)
108 rate = ie[i + 2] & 0x7f;
111 return rate;
158 /* best/max rate preferred if signal level close enough XXX */
/external/speex/libspeex/
H A Dvorbis_psy.h80 int rate; member in struct:__anon5923
91 VorbisPsy *vorbis_psy_init(int rate, int size);
/external/srec/srec/EventLog/include/
H A Driff.h54 * sampling rate: sample frames per sec.
58 * sampling rate * block alignment
220 int *rate,
228 int rate,

Completed in 442 milliseconds

123456