perfsrv/memspy/MemSpyClient/src/memspysession.cpp
changeset 54 a151135b0cf9
parent 52 c2f44e33b468
child 62 1c2bb2fc7c87
equal deleted inserted replaced
53:d47c6de21a88 54:a151135b0cf9
   777 
   777 
   778 EXPORT_C TBool RMemSpySession::IsSwmtRunningL()
   778 EXPORT_C TBool RMemSpySession::IsSwmtRunningL()
   779 	{
   779 	{
   780 	TPckgBuf<TBool> ret;
   780 	TPckgBuf<TBool> ret;
   781 	User::LeaveIfError(SendReceive(EMemSpyClientServerOpIsSwmtRunning, TIpcArgs(&ret)));
   781 	User::LeaveIfError(SendReceive(EMemSpyClientServerOpIsSwmtRunning, TIpcArgs(&ret)));
   782 	
   782 		
   783 	return ret();
   783 	return ret();
   784 	}
   784 	}
   785 
   785 
   786 EXPORT_C void RMemSpySession::StartSwmtTimerL(TInt aPeriod)
   786 EXPORT_C void RMemSpySession::StartSwmtTimerL(TInt aPeriod)
   787 	{
   787 	{
   788 	SetSwmtTimerIntervalL(aPeriod);
   788 	SetSwmtTimerIntervalL(aPeriod);
   789 	User::LeaveIfError(SendReceive(EMemSpyClientServerOpSystemWideMemoryTrackingTimerStart));
   789 	User::LeaveIfError(SendReceive(EMemSpyClientServerOpSystemWideMemoryTrackingTimerStart));
       
   790 	}
       
   791 
       
   792 EXPORT_C void RMemSpySession::StartSwmtTimer( TRequestStatus& aStatus )
       
   793 	{
       
   794 	SendReceive( EMemSpyClientServerOpSystemWideMemoryTrackingTimerStart, 
       
   795 			TIpcArgs(), aStatus );
   790 	}
   796 	}
   791 
   797 
   792 EXPORT_C void RMemSpySession::StartSwmtTimerL()
   798 EXPORT_C void RMemSpySession::StartSwmtTimerL()
   793 	{
   799 	{
   794 	User::LeaveIfError(SendReceive(EMemSpyClientServerOpSystemWideMemoryTrackingTimerStart));
   800 	User::LeaveIfError(SendReceive(EMemSpyClientServerOpSystemWideMemoryTrackingTimerStart));