MCPcopy
hub / github.com/tornadoweb/tornado / time

Method time

tornado/ioloop.py:549–561  ·  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

547 return future_cell["future"].result()
548
549 def time(self) -> float:
550 """Returns the current time according to the `IOLoop`'s clock.
551
552 The return value is a floating-point number relative to an
553 unspecified time in the past.
554
555 Historically, the IOLoop could be customized to use e.g.
556 `time.monotonic` instead of `time.time`, but this is not
557 currently supported and so this method is equivalent to
558 `time.time`.
559
560 """
561 return time.time()
562
563 def add_timeout(
564 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
assert_no_thread_leakMethod · 0.64
schedule_callbackMethod · 0.64
targetMethod · 0.64