First public contribution.
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32test/defrag/perf/t_testproc.cpp
18 #define __E32TEST_EXTENSION__
21 #include "..\d_pagemove.h"
23 #include "t_testdll.h"
26 LOCAL_D RTest test(_L("defragtest proc"));
28 GLDEF_C TInt E32Main()
31 /* Map the DLL to this process and Run the tests */
33 TEST_PRINTF(_L("Test Process: Attempting to Load DLL\n"));
34 TInt ret = dll.LoadTheLib(0, test);
37 test.Printf(_L("A Process failed to load the DLL\n"));
41 //TODO: Touch all the DLL pages !
42 RProcess::Rendezvous(KErrNone);
45 User::AfterHighRes(10000);