Reviewers: Søren Gjesse, Description: Report approximated duration in milliseconds for profile nodes.
The simple formula "ms = ticks * sampler_interval" doesn't work, because e.g. on Linux, the actual sampling rate can be 5 times lower than the one set up in the code. To calculate actual sampling rate, current time is periodically queried and processed along with actual sampling ticks count. Please review this at http://codereview.chromium.org/1539038/show Affected files: M src/api.cc M src/cpu-profiler-inl.h M src/cpu-profiler.cc M src/log.h M src/profile-generator-inl.h M src/profile-generator.h M src/profile-generator.cc M test/cctest/test-cpu-profiler.cc M test/cctest/test-profile-generator.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev To unsubscribe, reply using "remove me" as the subject.
