![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <time.h>
Public Member Functions | |
| constexpr | ThreadTicks () |
Public Member Functions inherited from v8::base::time_internal::TimeBase< ThreadTicks > | |
| constexpr bool | IsNull () const |
| constexpr bool | IsMax () const |
| constexpr bool | IsMin () const |
| int64_t | ToInternalValue () const |
| constexpr TimeDelta | since_origin () const |
| ThreadTicks & | operator= (ThreadTicks other) |
| TimeDelta | operator- (ThreadTicks other) const |
| ThreadTicks | operator- (TimeDelta delta) const |
| ThreadTicks | operator+ (TimeDelta delta) const |
| ThreadTicks & | operator+= (TimeDelta delta) |
| ThreadTicks & | operator-= (TimeDelta delta) |
| bool | operator== (const TimeBase< ThreadTicks > &other) const |
| bool | operator!= (const TimeBase< ThreadTicks > &other) const |
| bool | operator< (const TimeBase< ThreadTicks > &other) const |
| bool | operator<= (const TimeBase< ThreadTicks > &other) const |
| bool | operator> (const TimeBase< ThreadTicks > &other) const |
| bool | operator>= (const TimeBase< ThreadTicks > &other) const |
Static Public Member Functions | |
| static bool | IsSupported () |
| static void | WaitUntilInitialized () |
| static ThreadTicks | Now () |
Static Public Member Functions inherited from v8::base::time_internal::TimeBase< ThreadTicks > | |
| static ThreadTicks | Max () |
| static ThreadTicks | Min () |
| static ThreadTicks | FromInternalValue (int64_t us) |
Private Member Functions | |
| constexpr | ThreadTicks (int64_t ticks) |
Friends | |
| template<class TimeClass > | |
| class | time_internal::TimeBase |
Additional Inherited Members | |
Static Public Attributes inherited from v8::base::TimeConstants | |
| 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 |
Protected Member Functions inherited from v8::base::time_internal::TimeBase< ThreadTicks > | |
| constexpr | TimeBase (int64_t us) |
Protected Attributes inherited from v8::base::time_internal::TimeBase< ThreadTicks > | |
| int64_t | us_ |
|
inlineconstexpr |
|
inlineexplicitconstexprprivate |
|
static |
|
inlinestatic |
|
friend |