RtlpUpdateHeapRates

VOID __stdcall RtlpUpdateHeapRates(_HEAP *Heap, UINT64 Counter){
  int v2; 
  int v3; 

  v2 = Counter - 1;
  if( v2 )
  {
    v3 = v2 - 1;
    if( v3 )
    {
      if( v3 == 1 )
        ++Heap->Counters.DecommittRate;
    }
    else
    {
      ++Heap->Counters.CommitRate;
    }
  }
  else
  {
    ++Heap->Counters.LockAcquires;
    ++Heap->Counters.LockCollisions;
  }
}

Referenced by:

RtlpDeCommitFreeBlock
RtlpFindAndCommitPages