v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <circular-queue.h>
Public Types | |
typedef AtomicWord | Cell |
Public Member Functions | |
SamplingCircularQueue (int record_size_in_bytes, int desired_chunk_size_in_bytes, int buffer_size_in_chunks) | |
~SamplingCircularQueue () | |
INLINE (void *Enqueue()) | |
void * | StartDequeue () |
void | FinishDequeue () |
void | FlushResidualRecords () |
Static Public Attributes | |
static const Cell | kClear = 0 |
static const Cell | kEnd = -1 |
Definition at line 45 of file circular-queue.h.
typedef AtomicWord Cell |
Definition at line 69 of file circular-queue.h.
SamplingCircularQueue | ( | int | record_size_in_bytes, |
int | desired_chunk_size_in_bytes, | ||
int | buffer_size_in_chunks | ||
) |
Definition at line 36 of file circular-queue.cc.
References ASSERT, SamplingCircularQueue::kClear, SamplingCircularQueue::kEnd, v8::internal::kProcessorCacheLineSize, v8::internal::NULL, and v8::internal::RoundUp().
Definition at line 82 of file circular-queue.cc.
References v8::internal::DeleteArray().
void FinishDequeue | ( | ) |
Definition at line 103 of file circular-queue.cc.
References SamplingCircularQueue::kClear, and v8::internal::NULL.
void FlushResidualRecords | ( | ) |
Definition at line 116 of file circular-queue.cc.
Referenced by ProfilerEventsProcessor::Run().
INLINE | ( | void * | Enqueue() | ) |
void * StartDequeue | ( | ) |
Definition at line 88 of file circular-queue.cc.
References SamplingCircularQueue::kClear, and v8::internal::NULL.
|
static |
Definition at line 71 of file circular-queue.h.
Referenced by SamplingCircularQueue::FinishDequeue(), SamplingCircularQueue::SamplingCircularQueue(), SamplingCircularQueue::StartDequeue(), and TickSampleEventRecord::TickSampleEventRecord().
|
static |
Definition at line 72 of file circular-queue.h.
Referenced by SamplingCircularQueue::SamplingCircularQueue().