Home
last modified time | relevance | path

Searched refs:H_ALIGN_SHIFT (Results 1 – 3 of 3) sorted by relevance

/developtools/profiler/hiebpf/src/
Dringbuffer.cpp37 case H_ALIGN_SHIFT: {
38 bufSize_ = (bufSize_ >> H_ALIGN_SHIFT);
41 bufSize_ = (bufSize_ << H_ALIGN_SHIFT);
262 case H_ALIGN_SHIFT: { in Allocate()
263 bufSize = (bufSize >> H_ALIGN_SHIFT); in Allocate()
/developtools/profiler/hiebpf/include/
Dringbuffer.h26 H_ALIGN_SHIFT = 1, // half word alignment enumerator
/developtools/profiler/hiebpf/test/unittest/
Dringbuffer_test.cpp98 constexpr enum RingBuffer::MemAlignShift memAlign {RingBuffer::MemAlignShift::H_ALIGN_SHIFT};
105 const int bit = RingBuffer::MemAlignShift::H_ALIGN_SHIFT;
350 … ringBuffer = std::make_unique<RingBuffer>(BUFFER_SIZE, RingBuffer::MemAlignShift::H_ALIGN_SHIFT);