MCPcopy Create free account
hub / github.com/aws/aws-cli / time

Method time

awscli/s3transfer/bandwidth.py:44–50  ·  view source on GitHub ↗

Get the current time back :rtype: float :returns: The current time in seconds

(self)

Source from the content-addressed store, hash-verified

42
43class TimeUtils:
44 def time(self):
45 """Get the current time back
46
47 :rtype: float
48 :returns: The current time in seconds
49 """
50 return time.time()
51
52 def sleep(self, value):
53 """Sleep for a designated time

Callers 15

test_timeMethod · 0.95
_run_benchmarkMethod · 0.45
_log_invocation_timeMethod · 0.45
_timestampMethod · 0.45
random_bucket_nameFunction · 0.45
consumeMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_timeMethod · 0.76
random_bucket_nameFunction · 0.36