Searched refs:sampleIdx (Results 1 – 2 of 2) sorted by relevance
240 size_t sampleIdx = 0; // samples index in FinetuneSampleData() local244 while (sampleIdx < samplesCount && napiCallIdx < napiCallCount) { in FinetuneSampleData()246 sampleTime += static_cast<uint64_t>(profileInfo_->timeDeltas[sampleIdx]); in FinetuneSampleData()248 sampleIdx++; in FinetuneSampleData()252 size_t findIdx = sampleIdx; in FinetuneSampleData()253 size_t preIdx = sampleIdx; in FinetuneSampleData()255 static_cast<uint64_t>(profileInfo_->timeDeltas[sampleIdx]); // preIdx's timestamp in FinetuneSampleData()257 if (sampleIdx - 1 >= 0) { in FinetuneSampleData()258 preIdx = sampleIdx - 1; in FinetuneSampleData()259 preSampleTime -= static_cast<uint64_t>(profileInfo_->timeDeltas[sampleIdx - 1]); in FinetuneSampleData()[all …]
160 void FindSampleAndFinetune(size_t findIdx, size_t napiCallIdx, size_t &sampleIdx,