Lines Matching refs:time
33 import time
163 current_time = time.time()
172 # time.time() is based upon system clock. Check that
173 # our time hasn't been set backwards. If time is set forward,
176 # implementations of time.clock() appear broken.
188 # If timeout is smaller than smallest elapsed time,
243 # amount of time taken for the entire pipelined request
244 # as opposed to just the amount of time for a single
245 # file in the pipeline. So, if the connection time is 0
247 # the total time must be obtained by subtracting the
248 # time the transfer of the individual request started
249 # from the total time.
254 # time, etc. to initiate the transfer.
259 # Sometimes libcurl will report no transfer time.
260 # In that case, just use starttransfer time if it's
267 # Only count connections if the connection time is
340 # amount of time taken for the entire pipelined request
341 # as opposed to just the amount of time for a single
342 # file in the pipeline. So, if the connection time is 0
344 # the total time must be obtained by subtracting the
345 # time the transfer of the individual request started
346 # from the total time.
351 # time, etc. to initiate the transfer and
364 # large total time values. In this case, check that the
366 # not, and the total time is longer than our timeout,
367 # discard the time calculation as it is bogus.
376 # Only count connections if the connection time is
645 cur_clock = time.time()
655 list will be removed from the transport next time run() is
798 # slow or have hung after specified amount of time will
866 hdl.starttime = time.time()
1039 # override this at install time, if the