v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::ThreadTicks Class Referencefinal

#include <time.h>

Inheritance diagram for v8::base::ThreadTicks:
Collaboration diagram for v8::base::ThreadTicks:

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
 
ThreadTicksoperator= (ThreadTicks other)
 
TimeDelta operator- (ThreadTicks other) const
 
ThreadTicks operator- (TimeDelta delta) const
 
ThreadTicks operator+ (TimeDelta delta) const
 
ThreadTicksoperator+= (TimeDelta delta)
 
ThreadTicksoperator-= (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_
 

Detailed Description

Definition at line 461 of file time.h.

Constructor & Destructor Documentation

◆ ThreadTicks() [1/2]

v8::base::ThreadTicks::ThreadTicks ( )
inlineconstexpr

Definition at line 464 of file time.h.

Here is the caller graph for this function:

◆ ThreadTicks() [2/2]

v8::base::ThreadTicks::ThreadTicks ( int64_t ticks)
inlineexplicitconstexprprivate

Definition at line 499 of file time.h.

Member Function Documentation

◆ IsSupported()

bool v8::base::ThreadTicks::IsSupported ( )
static

Definition at line 779 of file time.cc.

◆ Now()

ThreadTicks v8::base::ThreadTicks::Now ( )
static

Definition at line 797 of file time.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WaitUntilInitialized()

static void v8::base::ThreadTicks::WaitUntilInitialized ( )
inlinestatic

Definition at line 471 of file time.h.

Friends And Related Symbol Documentation

◆ time_internal::TimeBase

template<class TimeClass >
friend class time_internal::TimeBase
friend

Definition at line 495 of file time.h.


The documentation for this class was generated from the following files: