Next Page Contents

module::age -- module aging

Introduction

module::age(maxtime) sets the maximum number of seconds that the machine code of an inactive dynamic module resides in the main memory. A module is called inactive, if its machine code is currently not executed or used in any other sense.

Call(s)

module::age()
module::age(maxtime)
module::age(maxtime,interval)

Parameters

maxtime - maximum number of seconds before module displacement takes place: integer of range 0..3600
interval - maximum number of seconds between two checks for module displacement: integer of range 1..60

Returns

An integer of range 0..3600 is returned.

Related Functions

module::displace, module::max, module::new, module::stat

Details

Example 1

The time that the machine code of inactive dynamic modules reside in main memory can be limited. The first command returns the current aging time and the second command sets it to 30 seconds. The third command sets the aging time to 60 seconds specifying that the modules are checked every 10 seconds.

>> module::age()
                                     0
>> module::age(30)
                                    30
>> module::age(60,10)
                                    60

Background




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000