Searched refs:final_offset (Results 1 – 1 of 1) sorted by relevance
615 size_t final_offset = 0; in FinishTracing() local622 final_offset = cur_offset_.load(std::memory_order_relaxed); in FinishTracing()623 GetVisitedMethods(final_offset, &visited_methods); in FinishTracing()645 size_t num_records = (final_offset - kTraceHeaderLength) / GetRecordSize(clock_source_); in FinishTracing()681 data.resize(header.length() + final_offset); in FinishTracing()683 memcpy(data.data() + header.length(), buf_.get(), final_offset); in FinishTracing()689 DumpBuf(buf_.get(), final_offset, clock_source_); in FinishTracing()693 !trace_file_->WriteFully(buf_.get(), final_offset)) { in FinishTracing()