aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/base/platform/time.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/base/platform/time.cc')
-rw-r--r--deps/v8/src/base/platform/time.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/deps/v8/src/base/platform/time.cc b/deps/v8/src/base/platform/time.cc
index 4d1bec2b25..d47ccaf803 100644
--- a/deps/v8/src/base/platform/time.cc
+++ b/deps/v8/src/base/platform/time.cc
@@ -146,7 +146,7 @@ struct timespec TimeDelta::ToTimespec() const {
// We implement time using the high-resolution timers so that we can get
// timeouts which are smaller than 10-15ms. To avoid any drift, we
// periodically resync the internal clock to the system clock.
-class Clock V8_FINAL {
+class Clock FINAL {
public:
Clock() : initial_ticks_(GetSystemTicks()), initial_time_(GetSystemTime()) {}
@@ -393,7 +393,7 @@ class TickClock {
// (3) System time. The system time provides a low-resolution (typically 10ms
// to 55 milliseconds) time stamp but is comparatively less expensive to
// retrieve and more reliable.
-class HighResolutionTickClock V8_FINAL : public TickClock {
+class HighResolutionTickClock FINAL : public TickClock {
public:
explicit HighResolutionTickClock(int64_t ticks_per_second)
: ticks_per_second_(ticks_per_second) {
@@ -401,7 +401,7 @@ class HighResolutionTickClock V8_FINAL : public TickClock {
}
virtual ~HighResolutionTickClock() {}
- virtual int64_t Now() V8_OVERRIDE {
+ virtual int64_t Now() OVERRIDE {
LARGE_INTEGER now;
BOOL result = QueryPerformanceCounter(&now);
DCHECK(result);
@@ -419,7 +419,7 @@ class HighResolutionTickClock V8_FINAL : public TickClock {
return ticks + 1;
}
- virtual bool IsHighResolution() V8_OVERRIDE {
+ virtual bool IsHighResolution() OVERRIDE {
return true;
}
@@ -428,14 +428,14 @@ class HighResolutionTickClock V8_FINAL : public TickClock {
};
-class RolloverProtectedTickClock V8_FINAL : public TickClock {
+class RolloverProtectedTickClock FINAL : public TickClock {
public:
// We initialize rollover_ms_ to 1 to ensure that we will never
// return 0 from TimeTicks::HighResolutionNow() and TimeTicks::Now() below.
RolloverProtectedTickClock() : last_seen_now_(0), rollover_ms_(1) {}
virtual ~RolloverProtectedTickClock() {}
- virtual int64_t Now() V8_OVERRIDE {
+ virtual int64_t Now() OVERRIDE {
LockGuard<Mutex> lock_guard(&mutex_);
// We use timeGetTime() to implement TimeTicks::Now(), which rolls over
// every ~49.7 days. We try to track rollover ourselves, which works if
@@ -454,7 +454,7 @@ class RolloverProtectedTickClock V8_FINAL : public TickClock {
return (now + rollover_ms_) * Time::kMicrosecondsPerMillisecond;
}
- virtual bool IsHighResolution() V8_OVERRIDE {
+ virtual bool IsHighResolution() OVERRIDE {
return false;
}