Lines Matching refs:newMIB
163 void Merge(const MemInfoBlock &newMIB) {
164 AllocCount += newMIB.AllocCount;
166 TotalAccessCount += newMIB.TotalAccessCount;
167 MinAccessCount = newMIB.MinAccessCount < MinAccessCount ? newMIB.MinAccessCount : MinAccessCount;
168 MaxAccessCount = newMIB.MaxAccessCount > MaxAccessCount ? newMIB.MaxAccessCount : MaxAccessCount;
170 TotalSize += newMIB.TotalSize;
171 MinSize = newMIB.MinSize < MinSize ? newMIB.MinSize : MinSize;
172 MaxSize = newMIB.MaxSize > MaxSize ? newMIB.MaxSize : MaxSize;
174 TotalLifetime += newMIB.TotalLifetime;
175 MinLifetime = newMIB.MinLifetime < MinLifetime ? newMIB.MinLifetime : MinLifetime;
176 MaxLifetime = newMIB.MaxLifetime > MaxLifetime ? newMIB.MaxLifetime : MaxLifetime;
178 TotalAccessDensity += newMIB.TotalAccessDensity;
179 MinAccessDensity = newMIB.MinAccessDensity < MinAccessDensity
180 ? newMIB.MinAccessDensity
182 MaxAccessDensity = newMIB.MaxAccessDensity > MaxAccessDensity
183 ? newMIB.MaxAccessDensity
186 TotalLifetimeAccessDensity += newMIB.TotalLifetimeAccessDensity;
188 newMIB.MinLifetimeAccessDensity < MinLifetimeAccessDensity
189 ? newMIB.MinLifetimeAccessDensity
192 newMIB.MaxLifetimeAccessDensity > MaxLifetimeAccessDensity
193 ? newMIB.MaxLifetimeAccessDensity
196 // We know newMIB was deallocated later, so just need to check if it was
198 NumLifetimeOverlaps += newMIB.AllocTimestamp < DeallocTimestamp;
199 AllocTimestamp = newMIB.AllocTimestamp;
200 DeallocTimestamp = newMIB.DeallocTimestamp;
202 NumSameAllocCpu += AllocCpuId == newMIB.AllocCpuId;
203 NumSameDeallocCpu += DeallocCpuId == newMIB.DeallocCpuId;
204 AllocCpuId = newMIB.AllocCpuId;
205 DeallocCpuId = newMIB.DeallocCpuId;
211 if (newMIB.AccessHistogramSize > AccessHistogramSize) {
215 AccessHistogram = newMIB.AccessHistogram;
216 AccessHistogramSize = newMIB.AccessHistogramSize;
218 ShorterHistogram = newMIB.AccessHistogram;
219 ShorterHistogramSize = newMIB.AccessHistogramSize;