Revision f230a1cf deps/v8/src/platform/time.h
deps/v8/src/platform/time.h | ||
---|---|---|
31 | 31 |
#include <ctime> |
32 | 32 |
#include <limits> |
33 | 33 |
|
34 |
#include "allocation.h" |
|
34 |
#include "../allocation.h"
|
|
35 | 35 |
|
36 | 36 |
// Forward declarations. |
37 | 37 |
extern "C" { |
... | ... | |
333 | 333 |
// resolution. THIS CALL IS GENERALLY MUCH MORE EXPENSIVE THAN Now() AND |
334 | 334 |
// SHOULD ONLY BE USED WHEN IT IS REALLY NEEDED. |
335 | 335 |
// This method never returns a null TimeTicks. |
336 |
static TimeTicks HighResNow(); |
|
336 |
static TimeTicks HighResolutionNow(); |
|
337 |
|
|
338 |
// Returns true if the high-resolution clock is working on this system. |
|
339 |
static bool IsHighResolutionClockWorking(); |
|
337 | 340 |
|
338 | 341 |
// Returns true if this object has not been initialized. |
339 | 342 |
bool IsNull() const { return ticks_ == 0; } |
Also available in: Unified diff