Searched refs:cur_offset_ (Results 1 – 2 of 2) sorted by relevance
581 cur_offset_.store(kTraceHeaderLength, std::memory_order_relaxed); in Trace()623 final_offset = cur_offset_.load(std::memory_order_relaxed); in FinishTracing()846 int32_t old_offset = cur_offset_.load(std::memory_order_relaxed); in WriteToBuf()859 cur_offset_.store(0, std::memory_order_relaxed); // Buffer is empty now. in WriteToBuf()866 cur_offset_.store(new_offset, std::memory_order_relaxed); in WriteToBuf()873 int32_t offset = cur_offset_.load(std::memory_order_relaxed); in FlushBuf()877 cur_offset_.store(0, std::memory_order_relaxed); in FlushBuf()904 old_offset = cur_offset_.load(std::memory_order_relaxed); // Speculative read in LogMethodTraceEvent()911 } while (!cur_offset_.compare_exchange_weak(old_offset, new_offset, std::memory_order_relaxed)); in LogMethodTraceEvent()
364 AtomicInteger cur_offset_; variable