Searched refs:proxyshaper (Results 1 - 2 of 2) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
H A Dproxyshaper_test.py16 """Unit tests for proxyshaper.
22 import proxyshaper namespace
65 limited_f = proxyshaper.RateLimitedFile(request_counter, f, bps)
66 start = proxyshaper.TIMER()
69 actual_ms = (proxyshaper.TIMER() - start) * 1000.0
77 limited_f = proxyshaper.RateLimitedFile(request_counter, f, bps)
78 start = proxyshaper.TIMER()
81 actual_ms = (proxyshaper.TIMER() - start) * 1000.0
90 limited_f = proxyshaper.RateLimitedFile(request_counter, f, bps)
91 start = proxyshaper
[all...]
H A Dhttpproxy.py31 import proxyshaper namespace
66 self.rfile = proxyshaper.RateLimitedFile(
70 self.wfile = proxyshaper.RateLimitedFile(
341 self.traffic_shaping_down_bps = proxyshaper.GetBitsPerSecond(down_bandwidth)
342 self.traffic_shaping_up_bps = proxyshaper.GetBitsPerSecond(up_bandwidth)

Completed in 81 milliseconds