MCPcopy
hub / github.com/opendevops-cn/opendevops / time

Method time

scripts/tornado_source_code/tornado/ioloop.py:534–546  ·  view source on GitHub ↗

Returns the current time according to the `IOLoop`'s clock. The return value is a floating-point number relative to an unspecified time in the past. Historically, the IOLoop could be customized to use e.g. `time.monotonic` instead of `time.time`, but this is not

(self)

Source from the content-addressed store, hash-verified

532 return future_cell[0].result()
533
534 def time(self) -> float:
535 """Returns the current time according to the `IOLoop`'s clock.
536
537 The return value is a floating-point number relative to an
538 unspecified time in the past.
539
540 Historically, the IOLoop could be customized to use e.g.
541 `time.monotonic` instead of `time.time`, but this is not
542 currently supported and so this method is equivalent to
543 `time.time`.
544
545 """
546 return time.time()
547
548 def add_timeout(
549 self,

Callers 15

run_syncMethod · 0.95
add_timeoutMethod · 0.95
call_laterMethod · 0.95
__init__Method · 0.80
set_timeoutMethod · 0.80
connectMethod · 0.80
waitMethod · 0.80
clearMethod · 0.80
_get_raw_xsrf_tokenMethod · 0.80

Calls

no outgoing calls

Tested by 15

waitMethod · 0.64
start_connectMethod · 0.64
test_response_timesMethod · 0.64
test_importMethod · 0.64
schedule_callbackMethod · 0.64
targetMethod · 0.64