The time always has to be retrieved from the kernel. V8's implementation is
in base::OS::TimeCurrentMillis, implemented in
src/base/platform/platform-{win32,posix}.cc.

On Mon, May 21, 2018 at 3:22 PM Abhishek Kanike <kai.dranzer32...@gmail.com>
wrote:

> Hi,
> I want to know how the date.now() function is called in javascript (or how
> it returns the value). I believe that javascript uses date.now() by system
> call. I want to in chrome source code how it is being set.
> This is useful for one of the performance benchmark that I am working on.
> Can someone please guide me to know how this happens in v8 engine.
>
> Thanks in advance.
>
> Regards,
> K Abhishek
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

Reply via email to