author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 14 May 2010 17:13:29 +0300 | |
changeset 109 | b3a1d9898418 |
parent 0 | a41df078684a |
child 257 | 3e88ff8f41d5 |
permissions | -rw-r--r-- |
0 | 1 |
// Copyright (c) 2008-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". |
|
7 |
// |
|
8 |
// Initial Contributors: |
|
9 |
// Nokia Corporation - initial contribution. |
|
10 |
// |
|
11 |
// Contributors: |
|
12 |
// |
|
13 |
// Description: |
|
14 |
// e32test\demandpaging\t_dpcmn.h |
|
15 |
// |
|
16 |
// |
|
17 |
||
18 |
extern TInt gPageSize; |
|
19 |
extern TBool gPagingSupported; |
|
20 |
extern TBool gRomPagingSupported; |
|
21 |
extern TBool gCodePagingSupported; |
|
22 |
extern TBool gDataPagingSupported; |
|
23 |
extern TInt gDataPagingPolicy; |
|
24 |
extern TBool gProcessPaged; |
|
25 |
||
26 |
extern TBool gGlobalNoPaging; |
|
27 |
extern TBool gGlobalAlwaysPage; |
|
28 |
extern TBool gGlobalDefaultUnpaged; |
|
29 |
extern TBool gGlobalDefaultPage; |
|
30 |
||
31 |
// Size of paging cache in pages |
|
32 |
extern TUint gMinCacheSize; |
|
33 |
extern TUint gMaxCacheSize; |
|
34 |
extern TUint gCurrentCacheSize; |
|
35 |
||
36 |
extern RChunk gChunk; |
|
37 |
extern RTest test; |
|
38 |
||
39 |
TInt GetGlobalPolicies(); |
|
40 |
TBool IsDataPagingSupported(); |
|
41 |
void UpdatePaged(TBool& aPaged); |
|
42 |
TInt TestThreadExit(RThread& aThread, TExitType aExitType, TInt aExitReason); |
|
43 |
||
109
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
44 |
class TestHybridHeap : public RHeap |
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
45 |
{ |
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
46 |
public: TInt ChunkHandle() { return iChunkHandle; }; |
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
47 |
}; |