Return start/end profiling time in microseconds instead of milliseconds
authoryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 6 Aug 2013 08:00:58 +0000 (08:00 +0000)
committeryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 6 Aug 2013 08:00:58 +0000 (08:00 +0000)
commite06343431ab5cd6d0b63a942259e6115560cfa95
tree53375fcd5e76a6ea7849866b093acdb12a7943c6
parent61a496f4e41d54e49dd9305bf4f0e3509de921c3
Return start/end profiling time in microseconds instead of milliseconds

The start and end time are now measured in microseconds and the type is int64_t.
This way it seems more natural as we are going to support submilisecond sampling
rate soon. Also it fixes cctest/test-cpu-profiler/ProfileStartEndTime test
failure caused by comparison between long double and double.

TEST=cctest/test-cpu-profiler/ProfileStartEndTime
BUG=v8:2824
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/22155003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16067 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8-profiler.h
src/api.cc
src/profile-generator.cc
src/profile-generator.h
test/cctest/test-cpu-profiler.cc