LOCALITY Directive [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
LOCALITY Directive
The LOCALITY directive groups the generated code from a program unit
together in the same general memory area as other program units having
the same LOCALITY name.
Syntax
$LOCALITY {'name'}
{"name"}
Default None; procedures that call each other are not
necessarily grouped in the same general memory
area.
Location The LOCALITY directive must appear before any
nondirective statements in the program unit.
Toggling/ Duration Cannot be toggled after the appearance of
nondirective statements in a program unit.
Impact on This directive can improve run-time performance
Performance because grouping procedures that frequently call
each other makes memory access more efficient.
MPE/iX 5.0 Documentation