equal
deleted
inserted
replaced
771 helper.GetHeapInfoUserL( *aLeft, leftInfos ); |
771 helper.GetHeapInfoUserL( *aLeft, leftInfos ); |
772 const TInt leftCount = leftInfos.Count(); |
772 const TInt leftCount = leftInfos.Count(); |
773 for( TInt i=0; i<leftCount; i++ ) |
773 for( TInt i=0; i<leftCount; i++ ) |
774 { |
774 { |
775 const TMemSpyHeapInfo& info = leftInfos[ i ]; |
775 const TMemSpyHeapInfo& info = leftInfos[ i ]; |
776 if ( info.Type() == TMemSpyHeapInfo::ETypeRHeap ) |
776 if ( info.Type() != TMemSpyHeapInfo::ETypeUnknown ) |
777 { |
777 { |
778 leftSize += (TInt) info.AsRHeap().ObjectData().Size(); |
778 leftSize += (TInt) info.AsRHeap().MetaData().iHeapSize; |
779 } |
779 } |
780 } |
780 } |
781 CleanupStack::PopAndDestroy( &leftInfos ); |
781 CleanupStack::PopAndDestroy( &leftInfos ); |
782 ); |
782 ); |
783 // |
783 // |
787 helper.GetHeapInfoUserL( *aRight, rightInfos ); |
787 helper.GetHeapInfoUserL( *aRight, rightInfos ); |
788 const TInt rightCount = rightInfos.Count(); |
788 const TInt rightCount = rightInfos.Count(); |
789 for( TInt i=0; i<rightCount; i++ ) |
789 for( TInt i=0; i<rightCount; i++ ) |
790 { |
790 { |
791 const TMemSpyHeapInfo& info = rightInfos[ i ]; |
791 const TMemSpyHeapInfo& info = rightInfos[ i ]; |
792 if ( info.Type() == TMemSpyHeapInfo::ETypeRHeap ) |
792 if ( info.Type() == TMemSpyHeapInfo::ETypeUnknown ) |
793 { |
793 { |
794 rightSize += (TInt) info.AsRHeap().ObjectData().Size(); |
794 rightSize += (TInt) info.AsRHeap().MetaData().iHeapSize; |
795 } |
795 } |
796 } |
796 } |
797 CleanupStack::PopAndDestroy( &rightInfos ); |
797 CleanupStack::PopAndDestroy( &rightInfos ); |
798 ); |
798 ); |
799 // |
799 // |