module::age
-- module agingmodule::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.
module::age()
module::age(maxtime)
module::age(maxtime,interval)
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 |
An integer of range 0..3600 is returned.
module::displace
,
module::max
, module::new
, module::stat
module::age
()
returns the current maximum
age of dynamic modules. This is the maximum number of seconds the
machine code of a dynamic module resides in MuPAD kernel process
before it is displaced from the main memory. The return value 0
indicates that module aging is deactivated.module::age
(maxtime)
sets a new maximum
age of dynamic modules and returns this value.module::age
(0)
deactivates the module
aging. This is the default value.module::age
(maxtime,interval)
also sets
the maximum number of seconds between two successive checks whether any
inactive dynamic module has to be displaced.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
module::age
uses the module function
stdmod::age
to get and set the maximum age.loadmod
, unloadmod
and external
are executed.module::max
.module::stat
displays information about
the dynamic module which are currently loaded in the main memory.