OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TIME_UNITS_PER_SEC
(Results
1 - 8
of
8
) sorted by null
/external/iptables/extensions/
libxt_RATEEST.c
42
#define
TIME_UNITS_PER_SEC
1000000
57
t *=
TIME_UNITS_PER_SEC
;
60
t *=
TIME_UNITS_PER_SEC
/1000;
63
t *=
TIME_UNITS_PER_SEC
/1000000;
77
if (tmp >=
TIME_UNITS_PER_SEC
)
78
printf(" %.1fs", tmp /
TIME_UNITS_PER_SEC
);
79
else if (tmp >=
TIME_UNITS_PER_SEC
/1000)
80
printf(" %.1fms", tmp / (
TIME_UNITS_PER_SEC
/ 1000));
144
if (interval <= (1 << info->interval) * (
TIME_UNITS_PER_SEC
/ 4))
172
local_interval = (
TIME_UNITS_PER_SEC
<< (info->interval + 2)) / 4
[
all
...]
/external/iproute2/tc/
tc_core.h
7
#define
TIME_UNITS_PER_SEC
1000000
tc_cbq.c
41
return tc_core_time2tick(maxidle*(1<<ewma_log)*
TIME_UNITS_PER_SEC
);
56
return tc_core_time2tick(offtime*
TIME_UNITS_PER_SEC
);
tc_estimator.c
29
if (A <= (1<<est->interval)*(
TIME_UNITS_PER_SEC
/4))
tc_core.c
61
return tc_core_time2tick(
TIME_UNITS_PER_SEC
*((double)size/rate));
66
return ((double)rate*tc_core_tick2time(ticks))/
TIME_UNITS_PER_SEC
;
208
clock_factor = (double)clock_res /
TIME_UNITS_PER_SEC
;
q_tbf.c
181
double lim = opt.rate.rate*(double)latency/
TIME_UNITS_PER_SEC
+ buffer;
183
double lim2 = opt.peakrate.rate*(double)latency/
TIME_UNITS_PER_SEC
+ mtu;
266
latency =
TIME_UNITS_PER_SEC
*(qopt->limit/(double)qopt->rate.rate) - tc_core_tick2time(qopt->buffer);
268
double lat2 =
TIME_UNITS_PER_SEC
*(qopt->limit/(double)qopt->peakrate.rate) - tc_core_tick2time(qopt->mtu);
tc_util.c
239
t *=
TIME_UNITS_PER_SEC
;
242
t *=
TIME_UNITS_PER_SEC
/1000;
245
t *=
TIME_UNITS_PER_SEC
/1000000;
259
if (tmp >=
TIME_UNITS_PER_SEC
)
260
snprintf(buf, len, "%.1fs", tmp/
TIME_UNITS_PER_SEC
);
261
else if (tmp >=
TIME_UNITS_PER_SEC
/1000)
262
snprintf(buf, len, "%.1fms", tmp/(
TIME_UNITS_PER_SEC
/1000));
q_hfsc.c
370
if (dmax != 0 && ceil(1.0 * umax *
TIME_UNITS_PER_SEC
/ dmax) > rate) {
375
sc->m1 = ceil(1.0 * umax *
TIME_UNITS_PER_SEC
/ dmax); /* in bps */
384
sc->d = tc_core_time2ktime(ceil(dmax - umax *
TIME_UNITS_PER_SEC
/ rate));
Completed in 245 milliseconds