Home
last modified time | relevance | path

Searched refs:QUEUE_CAPACITY (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
H A Dsamples_record.h36 const int QUEUE_CAPACITY = 51; // the capacity of the circular queue is QUEUE_CAPACITY - 1 member
109 FrameStackAndInfo frames_[QUEUE_CAPACITY] = {};
H A Dsamples_record.cpp698 rear_ = (rear_ + 1) % QUEUE_CAPACITY; in PostFrame()
738 rear_ = (rear_ + 1) % QUEUE_CAPACITY; in PostNapiFrame()
747 front_ = (front_ + 1) % QUEUE_CAPACITY; in PopFrame()
760 return (rear_ + 1) % QUEUE_CAPACITY == front_; in IsFull()
765 return (rear_ + QUEUE_CAPACITY - front_) % QUEUE_CAPACITY; in GetSize()

Completed in 2 milliseconds