![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <time.h>
Public Member Functions | |
constexpr | TimeTicks () |
![]() | |
constexpr bool | IsNull () const |
constexpr bool | IsMax () const |
constexpr bool | IsMin () const |
int64_t | ToInternalValue () const |
constexpr TimeDelta | since_origin () const |
TimeTicks & | operator= (TimeTicks other) |
TimeDelta | operator- (TimeTicks other) const |
TimeTicks | operator- (TimeDelta delta) const |
TimeTicks | operator+ (TimeDelta delta) const |
TimeTicks & | operator+= (TimeDelta delta) |
TimeTicks & | operator-= (TimeDelta delta) |
bool | operator== (const TimeBase< TimeTicks > &other) const |
bool | operator!= (const TimeBase< TimeTicks > &other) const |
bool | operator< (const TimeBase< TimeTicks > &other) const |
bool | operator<= (const TimeBase< TimeTicks > &other) const |
bool | operator> (const TimeBase< TimeTicks > &other) const |
bool | operator>= (const TimeBase< TimeTicks > &other) const |
Static Public Member Functions | |
static TimeTicks | Now () |
static bool | IsHighResolution () |
static constexpr TimeTicks | FromMsTicksForTesting (int64_t ticks) |
![]() | |
static TimeTicks | Max () |
static TimeTicks | Min () |
static TimeTicks | FromInternalValue (int64_t us) |
Private Member Functions | |
constexpr | TimeTicks (int64_t ticks) |
Friends | |
class | time_internal::TimeBase< TimeTicks > |
Additional Inherited Members | |
![]() | |
static constexpr int64_t | kHoursPerDay = 24 |
static constexpr int64_t | kMillisecondsPerSecond = 1000 |
static constexpr int64_t | kMillisecondsPerDay |
static constexpr int64_t | kMicrosecondsPerMillisecond = 1000 |
static constexpr int64_t | kMicrosecondsPerSecond |
static constexpr int64_t | kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60 |
static constexpr int64_t | kMicrosecondsPerHour = kMicrosecondsPerMinute * 60 |
static constexpr int64_t | kMicrosecondsPerDay |
static constexpr int64_t | kMicrosecondsPerWeek = kMicrosecondsPerDay * 7 |
static constexpr int64_t | kNanosecondsPerMicrosecond = 1000 |
static constexpr int64_t | kNanosecondsPerSecond |
![]() | |
constexpr | TimeBase (int64_t us) |
![]() | |
int64_t | us_ |
|
inlineconstexpr |
|
inlineexplicitconstexprprivate |
|
inlinestaticconstexpr |
|
static |
|
static |
|
friend |