V8 Project
|
#include <cpu.h>
Public Types | |
typedef T | flag_type |
typedef S | mask_type |
typedef Mutex::NativeHandle | NativeHandle |
typedef bool(* | EntropySource) (unsigned char *buffer, size_t buflen) |
Static Public Member Functions | |
static TimeDelta | FromDays (int days) |
static TimeDelta | FromHours (int hours) |
static TimeDelta | FromMinutes (int minutes) |
static TimeDelta | FromSeconds (int64_t seconds) |
static TimeDelta | FromMilliseconds (int64_t milliseconds) |
static TimeDelta | FromMicroseconds (int64_t microseconds) |
static TimeDelta | FromNanoseconds (int64_t nanoseconds) |
static TimeDelta | FromMachTimespec (struct mach_timespec ts) |
static TimeDelta | FromTimespec (struct timespec ts) |
static Time | Now () |
static Time | NowFromSystemTime () |
static Time | UnixEpoch () |
static Time | Max () |
static Time | FromInternalValue (int64_t value) |
static Time | FromTimespec (struct timespec ts) |
static Time | FromTimeval (struct timeval tv) |
static Time | FromFiletime (struct _FILETIME ft) |
static Time | FromJsTime (double ms_since_epoch) |
static TimeTicks | Now () |
static TimeTicks | HighResolutionNow () |
static bool | IsHighResolutionClockWorking () |
static TimeTicks | KernelTimestampNow () |
static bool | KernelTimestampAvailable () |
static TimeTicks | FromInternalValue (int64_t value) |
static int | NumberOfProcessors () |
static int64_t | AmountOfPhysicalMemory () |
static int64_t | AmountOfVirtualMemory () |
static void | SetEntropySource (EntropySource entropy_source) |
Static Public Attributes | |
static const int | ARM = 0x41 |
static const int | NVIDIA = 0x4e |
static const int | QUALCOMM = 0x51 |
static const int | ARM_CORTEX_A5 = 0xc05 |
static const int | ARM_CORTEX_A7 = 0xc07 |
static const int | ARM_CORTEX_A8 = 0xc08 |
static const int | ARM_CORTEX_A9 = 0xc09 |
static const int | ARM_CORTEX_A12 = 0xc0c |
static const int | ARM_CORTEX_A15 = 0xc0f |
static const int64_t | kMillisecondsPerSecond = 1000 |
static const int64_t | kMicrosecondsPerMillisecond = 1000 |
static const int64_t | kMicrosecondsPerSecond |
static const int64_t | kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60 |
static const int64_t | kMicrosecondsPerHour = kMicrosecondsPerMinute * 60 |
static const int64_t | kMicrosecondsPerDay = kMicrosecondsPerHour * 24 |
static const int64_t | kMicrosecondsPerWeek = kMicrosecondsPerDay * 7 |
static const int64_t | kNanosecondsPerMicrosecond = 1000 |
static const int64_t | kNanosecondsPerSecond |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (ConditionVariable) | |
void | AssertHeldAndUnmark () |
void | AssertUnheldAndMark () |
DISALLOW_COPY_AND_ASSIGN (Mutex) | |
DISALLOW_COPY_AND_ASSIGN (RecursiveMutex) | |
DISALLOW_COPY_AND_ASSIGN (LockGuard) | |
DISALLOW_COPY_AND_ASSIGN (Semaphore) | |
TimeDelta (int64_t delta) | |
Time (int64_t us) | |
TimeTicks (int64_t ticks) | |
int | Next (int bits) WARN_UNUSED_RESULT |
Static Private Member Functions | |
static TimeTicks | Now () |
Private Attributes | |
char | vendor_ [13] |
int | stepping_ |
int | model_ |
int | ext_model_ |
int | family_ |
int | ext_family_ |
int | type_ |
int | implementer_ |
int | architecture_ |
int | part_ |
bool | has_fpu_ |
bool | has_cmov_ |
bool | has_sahf_ |
bool | has_mmx_ |
bool | has_sse_ |
bool | has_sse2_ |
bool | has_sse3_ |
bool | has_ssse3_ |
bool | has_sse41_ |
bool | has_sse42_ |
bool | has_idiva_ |
bool | has_neon_ |
bool | has_thumb2_ |
bool | has_vfp_ |
bool | has_vfp3_ |
bool | has_vfp3_d32_ |
bool | is_fp64_mode_ |
mask_type | mask_ |
NativeHandle | native_handle_ |
TimeTicks | start_ticks_ |
Mutex * | mutex_ |
int64_t | delta_ |
int64_t | us_ |
int64_t | ticks_ |
int64_t | initial_seed_ |
int64_t | seed_ |
Static Private Attributes | |
static const int64_t | kMultiplier = V8_2PART_UINT64_C(0x5, deece66d) |
static const int64_t | kAddend = 0xb |
static const int64_t | kMask = V8_2PART_UINT64_C(0xffff, ffffffff) |
Friends | |
class | ConditionVariable |
typedef bool(* v8::base::FINAL< T, S >::EntropySource) (unsigned char *buffer, size_t buflen) |
Definition at line 32 of file random-number-generator.h.
typedef T v8::base::FINAL< T, S >::flag_type |
typedef S v8::base::FINAL< T, S >::mask_type |
typedef Mutex::NativeHandle v8::base::FINAL< T, S >::NativeHandle |
v8::base::FINAL< T, S >::~ConditionVariable | ( | ) |
v8::base::FINAL< T, S >::~Mutex | ( | ) |
v8::base::FINAL< T, S >::~RecursiveMutex | ( | ) |
|
inline |
v8::base::FINAL< T, S >::~Semaphore | ( | ) |
|
static |
|
static |
|
inline |
|
inlineprivate |
|
inlineprivate |
v8::base::FINAL< T, S >::ConditionVariable | ( | ) |
v8::base::FINAL< T, S >::CPU | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
int v8::base::FINAL< T, S >::InDays | ( | ) | const |
int v8::base::FINAL< T, S >::InHours | ( | ) | const |
|
inline |
Definition at line 77 of file random-number-generator.h.
|
inline |
int64_t v8::base::FINAL< T, S >::InMilliseconds | ( | ) | const |
double v8::base::FINAL< T, S >::InMillisecondsF | ( | ) | const |
int64_t v8::base::FINAL< T, S >::InMillisecondsRoundedUp | ( | ) | const |
int v8::base::FINAL< T, S >::InMinutes | ( | ) | const |
int64_t v8::base::FINAL< T, S >::InNanoseconds | ( | ) | const |
int64_t v8::base::FINAL< T, S >::InSeconds | ( | ) | const |
double v8::base::FINAL< T, S >::InSecondsF | ( | ) | const |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
void v8::base::FINAL< T, S >::Lock | ( | ) |
void v8::base::FINAL< T, S >::Lock | ( | ) |
|
inlineexplicit |
|
inlinestatic |
|
inline |
v8::base::FINAL< T, S >::Mutex | ( | ) |
|
inline |
Definition at line 86 of file condition-variable.h.
|
inline |
|
inline |
|
inline |
Definition at line 60 of file semaphore.h.
|
inline |
Definition at line 89 of file condition-variable.h.
|
inline |
|
inline |
|
inline |
Definition at line 63 of file semaphore.h.
|
private |
|
inline |
Definition at line 60 of file random-number-generator.h.
void v8::base::FINAL< T, S >::NextBytes | ( | void * | buffer, |
size_t | buflen | ||
) |
double v8::base::FINAL< T, S >::NextDouble | ( | ) |
|
inline |
Definition at line 43 of file random-number-generator.h.
int v8::base::FINAL< T, S >::NextInt | ( | int | max | ) |
void v8::base::FINAL< T, S >::NotifyAll | ( | ) |
void v8::base::FINAL< T, S >::NotifyOne | ( | ) |
|
inlinestaticprivate |
|
static |
|
static |
|
static |
|
static |
|
inline |
|
inline |
|
inline |
Definition at line 45 of file flags.h.
References v8::internal::anonymous_namespace{flags.cc}::flags.
|
inline |
Definition at line 53 of file flags.h.
References v8::internal::flag, and v8::base::FINAL< T, S >::operator&().
Referenced by v8::base::FINAL< T, S >::operator&().
|
inline |
Definition at line 32 of file flags.h.
References v8::internal::anonymous_namespace{flags.cc}::flags.
|
inline |
Definition at line 49 of file flags.h.
References v8::internal::flag, and v8::base::FINAL< T, S >::operator&=().
Referenced by v8::base::FINAL< T, S >::operator&=().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 47 of file flags.h.
References v8::internal::anonymous_namespace{flags.cc}::flags.
|
inline |
Definition at line 55 of file flags.h.
References v8::internal::flag, and v8::base::FINAL< T, S >::operator^().
Referenced by v8::base::FINAL< T, S >::operator^().
|
inline |
Definition at line 40 of file flags.h.
References v8::internal::anonymous_namespace{flags.cc}::flags.
|
inline |
Definition at line 51 of file flags.h.
References v8::internal::flag, and v8::base::FINAL< T, S >::operator^=().
Referenced by v8::base::FINAL< T, S >::operator^=().
|
inline |
Definition at line 46 of file flags.h.
References v8::internal::anonymous_namespace{flags.cc}::flags.
|
inline |
Definition at line 54 of file flags.h.
References v8::internal::flag, and v8::base::FINAL< T, S >::operator|().
Referenced by v8::base::FINAL< T, S >::operator|().
|
inline |
Definition at line 36 of file flags.h.
References v8::internal::anonymous_namespace{flags.cc}::flags.
|
inline |
Definition at line 50 of file flags.h.
References v8::internal::flag, and v8::base::FINAL< T, S >::operator|=().
Referenced by v8::base::FINAL< T, S >::operator|=().
|
inline |
|
inline |
|
inline |
v8::base::FINAL< T, S >::RandomNumberGenerator | ( | ) |
|
inlineexplicit |
Definition at line 36 of file random-number-generator.h.
v8::base::FINAL< T, S >::RecursiveMutex | ( | ) |
|
inline |
|
explicit |
|
static |
void v8::base::FINAL< T, S >::SetSeed | ( | int64_t | seed | ) |
void v8::base::FINAL< T, S >::Signal | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicitprivate |
|
inline |
|
inlineexplicitprivate |
|
inline |
|
inline |
|
inlineexplicitprivate |
struct _FILETIME v8::base::FINAL< T, S >::ToFiletime | ( | ) | const |
|
inline |
|
inline |
double v8::base::FINAL< T, S >::ToJsTime | ( | ) | const |
struct mach_timespec v8::base::FINAL< T, S >::ToMachTimespec | ( | ) | const |
struct timespec v8::base::FINAL< T, S >::ToTimespec | ( | ) | const |
struct timespec v8::base::FINAL< T, S >::ToTimespec | ( | ) | const |
struct timeval v8::base::FINAL< T, S >::ToTimeval | ( | ) | const |
bool v8::base::FINAL< T, S >::TryLock | ( | ) |
bool v8::base::FINAL< T, S >::TryLock | ( | ) |
|
inline |
|
inlinestatic |
void v8::base::FINAL< T, S >::Unlock | ( | ) |
void v8::base::FINAL< T, S >::Unlock | ( | ) |
|
inline |
void v8::base::FINAL< T, S >::Wait | ( | ) |
void v8::base::FINAL< T, S >::Wait | ( | Mutex * | mutex | ) |
bool v8::base::FINAL< T, S >::WaitFor | ( | const TimeDelta & | rel_time | ) |
bool v8::base::FINAL< T, S >::WaitFor | ( | Mutex * | mutex, |
const TimeDelta & | rel_time | ||
) |
|
friend |
|
private |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 86 of file random-number-generator.h.
|
private |
|
staticprivate |
Definition at line 81 of file random-number-generator.h.
|
staticprivate |
Definition at line 82 of file random-number-generator.h.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
Definition at line 80 of file random-number-generator.h.
|
static |
|
static |
|
private |
|
private |
|
private |
|
private |
Definition at line 94 of file condition-variable.h.
|
static |
|
private |
|
static |
|
private |
Definition at line 87 of file random-number-generator.h.
|
private |
Definition at line 89 of file elapsed-timer.h.
|
private |
|
private |
|
private |
|
private |
|
private |