Searched refs:timefunc (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/ |
D | sched.py | 39 def __init__(self, timefunc, delayfunc): argument 43 self.timefunc = timefunc 63 time = self.timefunc() + delay 105 timefunc = self.timefunc 109 now = timefunc()
|
/external/python/cpython3/Lib/ |
D | sched.py | 57 def __init__(self, timefunc=_time, delayfunc=time.sleep): argument 62 self.timefunc = timefunc 85 time = self.timefunc() + delay 133 timefunc = self.timefunc 140 now = timefunc()
|
/external/python/cpython3/Lib/test/ |
D | reperf.py | 7 timefunc(10, p.sub, "", s) 8 timefunc(10, p.split, s) 9 timefunc(10, p.findall, s) 11 def timefunc(n, func, *args, **kw): function
|
/external/python/cpython2/Lib/test/ |
D | reperf.py | 7 timefunc(10, p.sub, "", s) 8 timefunc(10, p.split, s) 9 timefunc(10, p.findall, s) 11 def timefunc(n, func, *args, **kw): function
|
/external/python/cpython3/Doc/library/ |
D | sched.rst | 18 .. class:: scheduler(timefunc=time.monotonic, delayfunc=time.sleep) 21 It needs two functions to actually deal with the "outside world" --- *timefunc* 23 units whatsoever). If time.monotonic is not available, the *timefunc* default 25 argument, compatible with the output of *timefunc*, and should delay that many 31 *timefunc* and *delayfunc* parameters are optional. 70 with the return value of the *timefunc* function passed to the constructor.
|
/external/python/cpython2/Doc/library/ |
D | sched.rst | 17 .. class:: scheduler(timefunc, delayfunc) 20 It needs two functions to actually deal with the "outside world" --- *timefunc* 23 argument, compatible with the output of *timefunc*, and should delay that many 85 with the return value of the *timefunc* function passed to the constructor.
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1754 * *timefunc* and *delayfunct* parameters of :class:`~sched.scheduler` class
|
/external/python/cpython3/Misc/ |
D | HISTORY | 6334 - Issue #16642: sched.scheduler timefunc initial default is time.monotonic. 9007 - Issue #13245: sched.scheduler class constructor's timefunc and
|