Searched refs:cur_offset_ (Results 1 – 2 of 2) sorted by relevance
580 cur_offset_.store(kTraceHeaderLength, std::memory_order_relaxed); in Trace()622 final_offset = cur_offset_.load(std::memory_order_relaxed); in FinishTracing()841 int32_t old_offset = cur_offset_.load(std::memory_order_relaxed); in WriteToBuf()854 cur_offset_.store(0, std::memory_order_relaxed); // Buffer is empty now. in WriteToBuf()861 cur_offset_.store(new_offset, std::memory_order_relaxed); in WriteToBuf()868 int32_t offset = cur_offset_.load(std::memory_order_relaxed); in FlushBuf()872 cur_offset_.store(0, std::memory_order_relaxed); in FlushBuf()899 old_offset = cur_offset_.load(std::memory_order_relaxed); // Speculative read in LogMethodTraceEvent()906 } while (!cur_offset_.compare_exchange_weak(old_offset, new_offset, std::memory_order_relaxed)); in LogMethodTraceEvent()
363 AtomicInteger cur_offset_; variable