Lines Matching refs:BitIdx
123 static u32 countAndClearShadowValues(u32 BitIdx, uptr ShadowStart, in countAndClearShadowValues() argument
126 u32 ByteValue = 0x1 << BitIdx; in countAndClearShadowValues()
131 bool Accum = getFlags()->record_snapshots && BitIdx < MaxAccumBitIdx; in countAndClearShadowValues()
133 bool Clear = BitIdx < TotalWorkingSetBitIdx; in countAndClearShadowValues()
160 static u32 computeWorkingSizeAndReset(u32 BitIdx) { in computeWorkingSizeAndReset() argument
171 WorkingSetSize += countAndClearShadowValues(BitIdx, Start, End); in computeWorkingSizeAndReset()
180 u32 BitIdx = CurWorkingSetBitIdx; in takeSample() local
183 while (BitIdx <= MaxAccumBitIdx && (SnapshotNum % Freq) == 0) { in takeSample()
184 u32 NumLines = computeWorkingSizeAndReset(BitIdx); in takeSample()
186 SnapshotNum, BitIdx, Freq, NumLines); in takeSample()
187 SizePerFreq[BitIdx].push_back(NumLines); in takeSample()
189 BitIdx++; in takeSample()