Searched refs:mIdx (Results 1 – 3 of 3) sorted by relevance
54 , mIdx(0)76 if (code == mEntries[mIdx].mCode in log()77 && nowNs - mEntries[mIdx].mLastTime < mAggregateNs) { in log()78 mEntries[mIdx].mCount++; in log()79 mEntries[mIdx].mLastTime = nowNs; in log()84 if (++mIdx >= mEntries.size()) { in log()85 mIdx = 0; in log()87 mEntries[mIdx].setFirstError(code, nowNs); in log()120 mEntries[(mIdx + numberOfEntries - offset) % numberOfEntries];130 mEntries[(mIdx + numberOfEntries - offset) % numberOfEntries];[all …]
95 size_t mIdx; // next usable index in mEntries variable
51 , mIdx(0) in PowerLog()91 mEntries[mIdx++] = std::make_pair(nowNs, 0.f); in log()96 mEntries[mIdx++] = std::make_pair(mCurrentTime, mCurrentEnergy); in log()99 if (mIdx >= mEntries.size()) { in log()100 mIdx -= mEntries.size(); in log()128 const size_t idx = (mIdx + numberOfEntries - offset - 1) % numberOfEntries; in dumpToString()181 const size_t idx = (mIdx + numberOfEntries - offset - 1) % numberOfEntries; in dumpToString()