memspy/Driver/Kernel/Include/SubChannels/MemSpyDriverLogChanHeapWalk.h
changeset 34 7259cf1302ad
parent 0 a03f92240627
child 44 52e343bb8f80
equal deleted inserted replaced
33:0d72cc2a29a3 34:7259cf1302ad
    59 private: // Internal methods
    59 private: // Internal methods
    60     const TMemSpyDriverInternalWalkHeapParamsCell* CellInfoForAddressWithinCellRange( TAny* aAddress ) const;
    60     const TMemSpyDriverInternalWalkHeapParamsCell* CellInfoForAddressWithinCellRange( TAny* aAddress ) const;
    61     const TMemSpyDriverInternalWalkHeapParamsCell* CellInfoForSpecificAddress( TAny* aAddress ) const;
    61     const TMemSpyDriverInternalWalkHeapParamsCell* CellInfoForSpecificAddress( TAny* aAddress ) const;
    62 
    62 
    63 private: // Heap walker callback
    63 private: // Heap walker callback
    64     TBool WalkerHandleHeapCell( TInt aCellType, TAny* aCellAddress, TInt aLength, TInt aNestingLevel, TInt aAllocNumber );
    64     TBool WalkerHandleHeapCell(TMemSpyDriverCellType aCellType, TAny* aCellAddress, TInt aLength, TInt aNestingLevel, TInt aAllocNumber );
    65 
    65 
    66 private:
    66 private:
    67     TBool iHeapWalkInitialised;
    67     TBool iHeapWalkInitialised;
    68     TInt iWalkHeapCellIndex;
    68     TInt iWalkHeapCellIndex;
    69     RMemSpyDriverRHeapUser iWalkHeap;
    69     RMemSpyDriverRHeapUser iWalkHeap;
    83         {
    83         {
    84         }
    84         }
    85 
    85 
    86 public: // From MHeapWalkerObserver
    86 public: // From MHeapWalkerObserver
    87     void HandleHeapWalkInit() { }
    87     void HandleHeapWalkInit() { }
    88     TBool HandleHeapCell( TInt aCellType, TAny* aCellAddress, TInt aLength, TInt aNestingLevel, TInt aAllocNumber )
    88     TBool HandleHeapCell(TMemSpyDriverCellType aCellType, TAny* aCellAddress, TInt aLength, TInt aNestingLevel, TInt aAllocNumber )
    89         {
    89         {
    90         return iChannel.WalkerHandleHeapCell( aCellType, aCellAddress, aLength, aNestingLevel, aAllocNumber );
    90         return iChannel.WalkerHandleHeapCell( aCellType, aCellAddress, aLength, aNestingLevel, aAllocNumber );
    91         }
    91         }
    92 
    92 
    93 private:
    93 private: