Lines Matching refs:nr
166 prefix.c_str(), data_.sample_id, header.size, data_.pid, data_.tid, data_.nr, in DumpLog()
178 ips_.reserve(data_.nr + callFrames_.size() + perfContextSize); in ReplaceWithCallStack()
179 if (data_.nr > 0) { in ReplaceWithCallStack()
180 ips_.assign(data_.ips, data_.ips + data_.nr); in ReplaceWithCallStack()
218 HLOGV("ips change from %llu -> %zu", data_.nr, ips_.size()); in ReplaceWithCallStack()
221 header.size -= data_.nr * sizeof(u64); in ReplaceWithCallStack()
224 data_.nr = ips_.size(); in ReplaceWithCallStack()
225 header.size += data_.nr * sizeof(u64); in ReplaceWithCallStack()
257 PopFromBinary(sampleType_ & PERF_SAMPLE_CALLCHAIN, p, data_.nr); in PerfRecordSample()
258 if (data_.nr > 0) { in PerfRecordSample()
262 p += data_.nr * sizeof(u64); in PerfRecordSample()
307 PushToBinary(sampleType_ & PERF_SAMPLE_CALLCHAIN, p, data_.nr); in GetBinary()
308 if (data_.nr > 0) { in GetBinary()
309 std::copy(data_.ips, data_.ips + data_.nr, reinterpret_cast<u64 *>(p)); in GetBinary()
310 p += data_.nr * sizeof(u64); in GetBinary()
368 PrintIndent(indent, "callchain nr=%lld\n", data_.nr); in DumpData()
369 for (uint64_t i = 0; i < data_.nr; ++i) { in DumpData()