Reviewers: machenbach,
Message:
Hey Michael,
Fixed Windows build (verified on Jakobs machine). And renamed time folder to
platform as per offline discussion. Besides that, the same as before. PTAL
-- Benedikt
Description:
Reland "Add Chromium-style TimeDelta, Time and TimeTicks classes, and a new
ElapsedTimer class."
These classes are meant to replace OS::Ticks() and OS::TimeCurrentMillis(),
which are broken in several ways. The ElapsedTimer class implements a
stopwatch using TimeTicks::HighResNow() for high resolution, monotonic
timing.
Also fix the CpuProfile::GetStartTime() and CpuProfile::GetEndTime()
methods to actually return the time relative to the unix epoch as stated
in the documentation (previously that was relative to some arbitrary
point in time, i.e. boot time).
BUG=v8:2853
Please review this at https://codereview.chromium.org/23469013/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/api.cc
M src/compiler.h
M src/compiler.cc
M src/counters.h
M src/counters.cc
M src/cpu-profiler.h
M src/cpu-profiler.cc
M src/deoptimizer.cc
M src/hydrogen.h
M src/hydrogen.cc
M src/lithium-allocator.cc
M src/log.h
M src/log.cc
M src/optimizing-compiler-thread.h
M src/optimizing-compiler-thread.cc
M src/parser.cc
M src/platform-linux.cc
M src/platform-macos.cc
M src/platform-openbsd.cc
M src/platform-posix.cc
M src/platform-win32.cc
M src/platform.h
A src/platform/elapsed-timer.h
A src/platform/time.h
A src/platform/time.cc
M src/profile-generator.h
M src/profile-generator.cc
M src/win32-headers.h
M src/win32-math.cc
M test/cctest/cctest.gyp
M test/cctest/test-cpu-profiler.cc
A test/cctest/test-time.cc
M tools/gyp/v8.gyp
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.