Searched refs:final_offset (Results 1 – 1 of 1) sorted by relevance
616 size_t final_offset = 0; in FinishTracing() local623 final_offset = cur_offset_.load(std::memory_order_relaxed); in FinishTracing()624 GetVisitedMethods(final_offset, &visited_methods); in FinishTracing()646 size_t num_records = (final_offset - kTraceHeaderLength) / GetRecordSize(clock_source_); in FinishTracing()682 data.resize(header.length() + final_offset); in FinishTracing()684 memcpy(data.data() + header.length(), buf_.get(), final_offset); in FinishTracing()690 DumpBuf(buf_.get(), final_offset, clock_source_); in FinishTracing()694 !trace_file_->WriteFully(buf_.get(), final_offset)) { in FinishTracing()