memspy/memspy_plat/memspy_api/include/MemSpyEngineClientInterface.h
changeset 34 7259cf1302ad
parent 22 a009639409f5
equal deleted inserted replaced
33:0d72cc2a29a3 34:7259cf1302ad
    43 // Internal constants
    43 // Internal constants
    44 const TInt KMemSpyOpFlagsTypeMask               = 0x0000FFFF;
    44 const TInt KMemSpyOpFlagsTypeMask               = 0x0000FFFF;
    45 const TInt KMemSpyOpFlagsInclusionMask          = 0xFFFF0000;
    45 const TInt KMemSpyOpFlagsInclusionMask          = 0xFFFF0000;
    46 const TInt KMemSpyOpFlagsIncludesThreadId       = 0x00010000;
    46 const TInt KMemSpyOpFlagsIncludesThreadId       = 0x00010000;
    47 const TInt KMemSpyOpFlagsIncludesThreadName     = 0x00020000;
    47 const TInt KMemSpyOpFlagsIncludesThreadName     = 0x00020000;
    48 
    48 const TInt KMemSpyOpFlagsAsyncOperation         = 0x00040000;
    49 // Literal constants
    49 // Literal constants
    50 _LIT( KMemSpyServerName, "MemSpyServer" );
    50 _LIT( KMemSpyServerName, "MemSpyServer" );
    51 _LIT( KMemSpyProcessName0, "MemSpyServer.exe" );
    51 _LIT( KMemSpyProcessName0, "MemSpyServer.exe" );
    52 _LIT( KMemSpyProcessName1, "MemSpyUI.exe" );
    52 _LIT( KMemSpyProcessName1, "MemSpyUI.exe" );
    53 _LIT( KMemSpyProcessName2, "MemSpyConsole.exe" );
    53 //_LIT( KMemSpyProcessName2, "MemSpyConsole.exe" );
    54 
    54 
    55 //
    55 //
    56 // Supported MemSpy operation types
    56 // Supported MemSpy operation types
    57 //
    57 //
    58 // Operations which can only be applied to a specific thread are
    58 // Operations which can only be applied to a specific thread are
   291 	EMemSpyClientServerOpGetInfoItemType,
   291 	EMemSpyClientServerOpGetInfoItemType,
   292 	
   292 	
   293 	EMemSpyClientServerOpGetThreadInfoItemsCount,
   293 	EMemSpyClientServerOpGetThreadInfoItemsCount,
   294 	
   294 	
   295 	EMemSpyClientServerOpGetThreadInfoItems,
   295 	EMemSpyClientServerOpGetThreadInfoItems,
       
   296 	
       
   297 	EMemSpyClientServerOpOutputInfoHandles,
       
   298 	
       
   299 	EMemSpyClientServerOpOutputAOList,
   296 		
   300 		
   297 	
   301 	
   298 	//Kernel Objects operations
   302 	//Kernel Objects operations
   299 	EMemSpyClientServerOpGetKernelObjectCount,
   303 	EMemSpyClientServerOpGetKernelObjectCount,
   300 	
   304 	
   304 	
   308 	
   305 	EMemSpyClientServerOpGetKernelObjectItems,
   309 	EMemSpyClientServerOpGetKernelObjectItems,
   306 	
   310 	
   307 	EMemSpyClientServerOpGetHeap,
   311 	EMemSpyClientServerOpGetHeap,
   308 	
   312 	
   309 	EMemSpyClientServerOpMarkerUiLast,
   313 	EMemSpyClientServerOpGetMemoryTrackingCycleCount,
       
   314 	
       
   315 	EMemSpyClientServerOpGetMemoryTrackingCycles,
       
   316 	
       
   317 	/**
       
   318 	 * [INTERNAL REQUEST]
       
   319 	 * Register for notifications of device wide operation progress.
       
   320 	 */
       
   321 	EMemSpyClientServerOpNotifyDeviceWideOperationProgress,
       
   322 	
       
   323 	/**
       
   324 	 * [INTERNAL REQUEST]
       
   325 	 * Cancel current device wide operation
       
   326 	 */
       
   327 	EMemSpyClientServerOpCancelDeviceWideOperation,	
   310 	
   328 	
   311 	EMemSpyClientServerOpOutputAllContainerContents,
   329 	EMemSpyClientServerOpOutputAllContainerContents,
   312     
   330 	    
   313 	EMemSpyClientServerOpDumpKernelHeap,
   331 	EMemSpyClientServerOpDumpKernelHeap,
   314 	
   332 	
   315     /**
   333 	EMemSpyClientServerOpSetSwmtConfig,
   316      * [INTERNAL REQUEST]
   334 	
   317      */
   335 	EMemSpyClientServerOpSetSwmtAutoStartProcessList,
       
   336 		
       
   337 	EMemSpyClientServerOpGetOutputSink,
       
   338 	
       
   339 	/**
       
   340 	 * [INTERNAL REQUEST]
       
   341 	 * Check if system wide memory tracking timer is running.
       
   342 	 */
       
   343 	EMemSpyClientServerOpIsSwmtRunning,
       
   344 	
       
   345 	EMemSpyClientServerOpMarkerUiLast,		
       
   346 	
       
   347 	/**
       
   348 	 * [INTERNAL REQUEST]
       
   349 	 */
   318     EMemSpyClientServerOpMarkerLast,
   350     EMemSpyClientServerOpMarkerLast,
   319     };
   351     };
   320 
   352 
   321 
   353 
   322 enum TMemSpyEndType
   354 enum TMemSpyEndType