kerneltest/e32test/rm_debug/debug_targets/d_rmdebugthread2.cpp
branchRCL_3
changeset 87 2f92ad2dc5db
parent 81 e7d2d738d3c2
child 258 880ff05ad710
equal deleted inserted replaced
81:e7d2d738d3c2 87:2f92ad2dc5db
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    20 #include <e32cons.h>
    20 #include <e32cons.h>
    21 #include <e32debug.h>
    21 #include <e32debug.h>
    22 #include "d_rmdebugthread2.h"
    22 #include "d_rmdebugthread2.h"
    23 
    23 
    24 #include "d_rmdebug_step_test.h"
    24 #include "d_rmdebug_step_test.h"
       
    25 #include "d_rmdebug_bkpt_test.h"
    25 #include "d_demand_paging.h"
    26 #include "d_demand_paging.h"
    26 
    27 
    27 EXPORT_C TBuf8<SYMBIAN_RMDBG_MEMORYSIZE> gMemoryAccessBytes;
    28 EXPORT_C TBuf8<SYMBIAN_RMDBG_MEMORYSIZE> gMemoryAccessBytes;
    28 IMPORT_C extern void RMDebug_BranchTst1();
    29 IMPORT_C extern void RMDebug_BranchTst1();
    29 IMPORT_C extern TInt RMDebugDemandPagingTest();
    30 IMPORT_C extern TInt RMDebugDemandPagingTest();
   151 				// Single-stepping performance
   152 				// Single-stepping performance
   152 				RMDebug_StepTest_Count();
   153 				RMDebug_StepTest_Count();
   153 
   154 
   154 				// multiple step test
   155 				// multiple step test
   155 				RMDebug_StepTest_ARM_Step_Multiple();
   156 				RMDebug_StepTest_ARM_Step_Multiple();
       
   157 
       
   158 				// Breakpoints in loop test
       
   159 				RMDebug_Bkpt_Test_Entry();
   156 
   160 
   157 				TestData++;
   161 				TestData++;
   158 
   162 
   159 				// Wait 50mSecs. // (suspends this thread)
   163 				// Wait 50mSecs. // (suspends this thread)
   160 				User::After(50000);
   164 				User::After(50000);