https://codereview.chromium.org/750813003/diff/120001/src/heap/heap.cc
File src/heap/heap.cc (right):

https://codereview.chromium.org/750813003/diff/120001/src/heap/heap.cc#newcode4429
src/heap/heap.cc:4429: deadline -
V8::GetCurrentPlatform()->MonotonicallyIncreasingTime();
On 2014/11/25 10:35:41, rmcilroy wrote:
Both deadline and MonotonicallyIncreasingTime() return time in
seconds, not ms.
Probably better to rename the arguments to deadline_seconds to avoid
this
confusion in the future.  Actually, it might be even better to
translate to
base::TimeTicks / base::TimeDelta initially to avoid issues (I would
have
returned base::TimeTicks for MonotonicallyIncreasingTime() if it was
available
in Blink, but unfortunately it's not).

I am using now seconds granularity on the api level and internally I
convert it to milliseconds.

https://codereview.chromium.org/750813003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to