Thanks Benedikt, mostly reformatting/renaming nits.
https://codereview.chromium.org/25468003/diff/1/src/platform/time.cc
File src/platform/time.cc (right):
https://codereview.chromium.org/25468003/diff/1/src/platform/time.cc#newcode183
src/platform/time.cc:183: // Check if we need to resynchronize due to
backwards time
Move words up until you hit the 80 chars barrier. Moreover end sentence
with a ".".
https://codereview.chromium.org/25468003/diff/1/src/platform/time.cc#newcode184
src/platform/time.cc:184: // change or elapsed time.
What do you mean here? Should it be "Check if we have to synchronize the
clock"?
https://codereview.chromium.org/25468003/diff/1/src/platform/time.cc#newcode384
src/platform/time.cc:384: virtual bool IsHighResolution() =0;
space missing
https://codereview.chromium.org/25468003/diff/1/src/platform/time.cc#newcode465
src/platform/time.cc:465: //
http://blogs.msdn.com/b/larryosterman/archive/2009/09/02/what-s-the-difference-between-gettickcount-and-timegettime.aspx
can we fix that link - 80 chars
https://codereview.chromium.org/25468003/diff/1/src/platform/time.cc#newcode466
src/platform/time.cc:466: //
remove that // with a newline
https://codereview.chromium.org/25468003/diff/1/src/platform/time.h
File src/platform/time.h (right):
https://codereview.chromium.org/25468003/diff/1/src/platform/time.h#newcode339
src/platform/time.h:339: static bool IsHighResClockWorking();
Can we call it IsHighResolutionClockWorking()? And also rename
HighResNow to HighResolutionNow? Using full names is suggested by the
coding style guide.
https://codereview.chromium.org/25468003/diff/1/src/platform/time.h#newcode407
src/platform/time.h:407: int64_t ticks_;
Is it safe to use int64_t here? Shouldn't it be uint64_t?
https://codereview.chromium.org/25468003/diff/1/test/cctest/test-time.cc
File test/cctest/test-time.cc (right):
https://codereview.chromium.org/25468003/diff/1/test/cctest/test-time.cc#newcode189
test/cctest/test-time.cc:189: TEST(TimeTicksHighResNowResolution) {
What about merging the last two test cases and using the 1 millisecond
resolution requirement when we have a high resolution clock?
https://codereview.chromium.org/25468003/
--
--
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.