| Index: src/platform/time.h
|
| diff --git a/src/platform/time.h b/src/platform/time.h
|
| index 2ce6cdd3e99137505243ca47d139eeab5f7a0e34..25161f8022f53b2a6a112d956bc23b76ced6354f 100644
|
| --- a/src/platform/time.h
|
| +++ b/src/platform/time.h
|
| @@ -333,7 +333,10 @@ class TimeTicks V8_FINAL BASE_EMBEDDED {
|
| // resolution. THIS CALL IS GENERALLY MUCH MORE EXPENSIVE THAN Now() AND
|
| // SHOULD ONLY BE USED WHEN IT IS REALLY NEEDED.
|
| // This method never returns a null TimeTicks.
|
| - static TimeTicks HighResNow();
|
| + static TimeTicks HighResolutionNow();
|
| +
|
| + // Returns true if the high-resolution clock is working on this system.
|
| + static bool IsHighResolutionClockWorking();
|
|
|
| // Returns true if this object has not been initialized.
|
| bool IsNull() const { return ticks_ == 0; }
|
|
|