HomeSort by relevance Sort by last modified time
    Searched refs:TIME_UNITS_PER_SEC (Results 1 - 8 of 8) sorted by null

  /external/iptables/extensions/
libxt_RATEEST.c 48 #define TIME_UNITS_PER_SEC 1000000
63 t *= TIME_UNITS_PER_SEC;
66 t *= TIME_UNITS_PER_SEC/1000;
69 t *= TIME_UNITS_PER_SEC/1000000;
83 if (tmp >= TIME_UNITS_PER_SEC)
84 printf(" %.1fs", tmp / TIME_UNITS_PER_SEC);
85 else if (tmp >= TIME_UNITS_PER_SEC/1000)
86 printf(" %.1fms", tmp / (TIME_UNITS_PER_SEC / 1000));
118 if (udata->interval <= (1 << info->interval) * (TIME_UNITS_PER_SEC / 4))
146 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 374 if (dmax != 0 && ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax) > rate) {
379 sc->m1 = ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax); /* in bps */
388 sc->d = tc_core_time2ktime(ceil(dmax - umax * TIME_UNITS_PER_SEC / rate));

Completed in 1778 milliseconds