Searched refs:time (Results 1 - 25 of 58) sorted by relevance

123

/pkg/src/util/log-scripts/
H A Dan_first_timestamp.py36 import time namespace
40 comb_log_pat = re.compile("(?P<ip>[\d\.]*) - - \[(?P<date>[^:]*):(?P<time>\S*) (?P<tz>[^\]]*)\] \"(?P<op>GET|POST|HEAD|\S*) (?P<uri>\S*) HTTP/(?P<httpver>[^\"]*)\" (?P<response>\d*) (?P<subcode>\d*|-) \"(?P<refer>[^\"]*)\" \"(?P<agent>[^\"]*)\"")
53 d = datetime.datetime(*(time.strptime(mg["date"] + ":" + mg["time"], "%d/%b/%Y:%H:%M:%S")[0:6]))
55 print("{0:d}".format(time.mktime(d.timetuple())))
H A Dan_ip_active.py36 import time namespace
73 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6]))
75 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6]))
105 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
H A Dan_filelist.py36 import time namespace
83 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6]))
85 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6]))
114 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
H A Dtranslate.py31 import time namespace
71 d = time.mktime(time.strptime(d[1:], "%d/%b/%Y:%H:%M:%S"))
H A Dan2_ip_active.py31 import time namespace
109 firstdt = datetime.datetime(*(time.strptime(firstdate, "%Y-%m-%d")[0:6]))
118 dt = datetime.datetime(*(time.strptime(d, "%Y-%m-%d")[0:6]))
140 firstdt = datetime.datetime(*(time.strptime(firstdate, "%Y-%m-%d")[0:6]))
H A Dan_catalog.py58 import time namespace
163 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6]))
165 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6]))
194 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
H A Dan_manifest.py35 import time namespace
112 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6]))
114 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6]))
144 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
H A Dan_search.py35 import time namespace
167 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6]))
169 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6]))
198 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
/pkg/src/tests/perf/
H A Dfmribench.py37 import time namespace
/pkg/src/modules/client/
H A Dprintengine.py38 import time namespace
322 time.sleep(0.050)
325 time.sleep(0.050)
329 time.sleep(0.500)
331 time.sleep(0.500)
333 time.sleep(0.500)
335 time.sleep(0.500)
337 time.sleep(0.500)
H A Dprogress.py40 import time namespace
170 curtime = timestamp if timestamp else time.time()
189 # compute time delta between front and back of deque
246 self.__starttime = timestamp if timestamp else time.time()
250 self.__donetime = timestamp if timestamp else time.time()
307 self.__last_print_time = time.time()
[all...]
/pkg/src/util/qual-simulator/
H A Ddepot.py60 # Speed decreases over time.
62 # Speed increases over time.
76 # Constants define the latency / connect time measurement for
91 connect time in milliseconds. The 'error_rate' variable
159 """Depot's speed gradually increases over time."""
167 """Depot gets slower as time goes on."""
205 time = self.speed_single(size)
207 time = self.speed_decay(size)
209 time = self.speed_increasing(size)
213 rc[self.key()].record_progress(size, time)
[all...]
/pkg/src/modules/
H A Ddepotcontroller.py32 import time namespace
430 self.__starttime = time.time()
441 begintime = time.time()
446 while (time.time() - begintime) <= 40.0:
461 time.sleep(check_interval)
487 time.sleep(sleeptime)
520 lifetime = time
[all...]
H A Dsearch_storage.py29 import time namespace
59 start_time = time.time()
67 if timeout != None and ((time.time() - start_time) > timeout):
74 # tries again until it succeeds or the time spent in
190 """This method uses the modification time and the file size
H A Dcfgfiles.py39 import time namespace
219 days = datetime.timedelta(seconds=time.time()).days
/pkg/src/tests/api/
H A Dt_api_refresh.py35 import time namespace
98 time.sleep(1)
204 time.sleep(1)
H A Dt_async_rpc.py39 import time namespace
64 time.sleep(n)
236 time.sleep(random.randint(0, 1))
H A Dt_progress.py37 import time namespace
65 time.sleep(0.20)
94 time.sleep(0.20)
/pkg/src/tests/cli/
H A Dt_pkgmerge.py39 import time namespace
267 time.sleep(1)
276 time.sleep(1)
284 time.sleep(1)
286 # Everything above again, but this time using the debug version
298 time.sleep(1)
302 time.sleep(1)
310 time.sleep(1)
314 time.sleep(1)
316 time
[all...]
H A Dt_util_merge.py38 import time namespace
126 time.sleep(1)
H A Dt_pkg_depotd.py38 import time namespace
141 """ Send package quux@1.0 an action at a time, restarting the
584 start_time = time.time()
585 while not found and time.time() - start_time < timeout:
586 time.sleep(1)
600 start_time = time.time()
602 while not got and (time
[all...]
/pkg/src/modules/actions/
H A Dlegacy.py37 import time namespace
102 time.strftime("%b %d %Y %H:%M")))
H A Dfile.py40 import time namespace
298 # On Windows, the time cannot be changed on a
328 misc.time_to_timestamp(time.time()),
339 misc.time_to_timestamp(time.time()),
/pkg/src/modules/client/transport/
H A Dengine.py33 import time namespace
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 take
[all...]
/pkg/src/tests/
H A Dpkg5unittest.py55 import time namespace
1656 print("{0:>6.2f} Total time\n".format(tot), file=stream)
1659 "sorted by time taken:\n".format(suite_name), file=stream)
1662 print("{0:>6.2f} Total time\n".format(tot), file=stream)
1675 # Calculate the new time estimates for each test suite method
1684 # For each test class, find the average time each test in the
1769 # estimate is available, fall back to the average time each test
1771 # is available, fall back to the average time for each test in
1784 of time remaining before the remaining tests finish."""
1799 # remaining time usin
[all...]

Completed in 75 milliseconds

123