Home · All Classes · Grouped Classes · Annotated · Functions

GenericMemoryMonitorTask Class Reference

The GenericMemoryMonitorTask class implements a simple page-fault driven memory monitor task. More...

    #include <GenericMemoryMonitorTask>

Inherits MemoryMonitor.

Additional Inherited Members


Detailed Description

The GenericMemoryMonitorTask class implements a simple page-fault driven memory monitor task.

The GenericMemoryMonitorTask provides a Qtopia Server Task. Qtopia Server Tasks are documented in full in the QtopiaServerApplication class documentation.

Task NameGenericMemoryMonitory
InterfacesMemoryMonitor
ServicesNone

The GenericMemoryMonitorTask uses a simple page-fault rate driven algorithm to approximate the memory "pressure" on the device.

The GenericMemoryMonitorTask task exports the following informational value space items.

ItemDescription
/ServerTasks/GenericMemoryMonitorTask/MemoryLevelSet to the current memory level. Either "Unknown", "Critical", "VeryLow", "Low" or "Normal".
/ServerTasks/GenericMemoryMonitorTask/ChangedTimeThe date and time at which the memory level last changed.

As polling is used to sample memory usage information from the /c {/proc} filesystem, the GenericMemoryMonitorTask should generally be replaced by system integrators with a more efficient, system specific mechanism.


Copyright © 2007 Trolltech Trademarks
Qtopia 4.2.5