On Tue, Apr 27, 2021 at 7:43 AM Manlio Perillo <manlio.peri...@gmail.com> wrote: > > Il giorno lunedì 26 aprile 2021 alle 10:24:09 UTC+2 Pure White ha scritto: >> >> So I really want to know what is the right way to do vdso call outside >> runtime? >> > What about using a different function instead of time.Now, and using > RawSyscall?
That wouldn't be a VDSO call. VDSO calls are in general faster than system calls. There is more background at https://man7.org/linux/man-pages/man7/vdso.7.html. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWVtD_x0%3D--GhsRX_jUsE93ZPi-YT5XnBLW6pLLb%2BL5-w%40mail.gmail.com.