Thanks, Ben. What does the "ts" field mean ? i can not find this field in cpu profile. I want to find the corresponding samples of the code that was executed at a certain time.
在2023年8月1日星期二 UTC+8 04:21:59<Ben Noordhuis> 写道: > On Mon, Jul 31, 2023 at 7:58 PM theratliter theratliter > <thera...@gmail.com> wrote: > > > > hello, everyone ! Does anyone know what the `startTime` is in the cpu > profile. From the code point of view (v8/src/base/platform/time.cc), it > seems that the implementation is different under different systems? > > startTime is the system time in microseconds, and yes, the meaning of > "system time" is different across platforms. It's probably best to > treat it as counting from some arbitrary point in the past. > > FWIW, I believe you should prefer the "ts" field over "startTime". The > former aligns with the timestamps used in the tracing subsystem. > -- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/079e0263-b3b6-4955-bca6-ff70c9227314n%40googlegroups.com.