class DPTest |
Public Member Functions | |
---|---|
IMPORT_C TUint32 | Attributes () |
IMPORT_C TInt | CacheSize ( TUint &, TUint &, TUint &) |
IMPORT_C TInt | EventInfo ( TDes8 &) |
IMPORT_C TInt | FlushCache () |
IMPORT_C TInt | SetCacheSize ( TUint , TUint ) |
Public Member Enumerations | |
---|---|
enum | TAttributes { ERomPaging = 1<<0, ECodePaging = 1<<1, EDataPaging = 1<<2 } |
IMPORT_C TUint32 | Attributes | ( | ) | [static] |
Return the attributes of the demand paging system. This is a bitfield consisting of values from enum TAttributes
IMPORT_C TInt | CacheSize | ( | TUint & | aMinSize, |
TUint & | aMaxSize, | |||
TUint & | aCurrentSize | |||
) | [static] |
Get the current values of the RAM sizes used for the virtual memory cache.
IMPORT_C TInt | EventInfo | ( | TDes8 & | aInfo | ) | [static] |
Get paging event information.
TDes8 & aInfo | A descriptor to hold the returned information. The contents of the descriptor are in the form of a TEventInfo object. |
IMPORT_C TInt | FlushCache | ( | ) | [static] |
Evict the contents of the virtual memory cache and reduce it to its minimum size.
IMPORT_C TInt | SetCacheSize | ( | TUint | aMinSize, |
TUint | aMaxSize | |||
) | [static] |
Change the minimum and maximum RAM sizes used for the virtual memory cache.
These values may be silently restricted to platforn specific limits. If required, GetCacheSize can be used to verify sizes actually applied to the system.
If there is not enough memory to set the specified cache size then KErrNoMemory is returned, however the cache size may still have been modified in an attempt to service the request.
The attributes of the demand paging system.
ERomPaging = 1<<0 |
The ROM is being demand paged. |
ECodePaging = 1<<1 |
Individual executable files can be demand paged. |
EDataPaging = 1<<2 |
User RAM can be demand paged. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.