commands/leak/leak.h
changeset 31 d0e1c40de386
parent 0 7f656887cf89
equal deleted inserted replaced
30:35cb3fe43f60 31:d0e1c40de386
     9 // Initial Contributors:
     9 // Initial Contributors:
    10 // Accenture - Initial contribution
    10 // Accenture - Initial contribution
    11 //
    11 //
    12 
    12 
    13 #include <fshell/ioutils.h>
    13 #include <fshell/ioutils.h>
       
    14 
       
    15 class RLoggingAllocator;
    14 
    16 
    15 using namespace IoUtils;
    17 using namespace IoUtils;
    16 
    18 
    17 class CCmdLeak : public CCommandBase
    19 class CCmdLeak : public CCommandBase
    18 	{
    20 	{
    35 	TUint iRate;
    37 	TUint iRate;
    36 
    38 
    37 	TUint iHeapAddr;
    39 	TUint iHeapAddr;
    38 	TBool iUseHeap;
    40 	TBool iUseHeap;
    39 	TBool iRetry;
    41 	TBool iRetry;
       
    42 	TBool iUseLoggingAllocator;
    40 
    43 
    41 	RChunk iChunk;
    44 	RChunk iChunk;
    42 	RAllocator* iChunkHeap;
    45 	RAllocator* iChunkHeap;
       
    46 	RLoggingAllocator* iLoggingAllocator;
       
    47 	RAllocator* iAllocatorToUse;
    43 
    48 
    44 	TInt iCurrentLeak;
    49 	TInt iCurrentLeak;
    45 	};
    50 	};