tornado: use time.monotonic() where available.
In ioloop.add_timeout(), we still support adding timeouts using time.time(),
but we actually convert them to time.monotonic() before running. If you
don't explicitly set monotonic=False when calling add_timeout(), you'll get
a warning when that happens.
But mostly, you should really be passing in a datetime.timedelta object,
because almost always you want to use relative time instead of absolute
time.
Change-Id: I5e84f219ed00cf597f651c7df50648a200582675
13 files changed