Statistics

You can generate statistics for gentime and runtime versions of a function, and these can be used to assess portability to other platforms.

The runtime statistics provide information about the usage of the stack memory block.

The gentime statistics give the sizes of the symbol table, the Local Logic table, the Global Logic table, the format header table, the fields table, and the constants table.  Unless specified otherwise, the runtime and gentime statistics are output to the term-id.run and term-id.gen files respectively.  To output to different files, use the RUNSTAT and GENSTAT environment variables.

RUNSTAT=pathname and filename

 

GENSTAT=pathname and filename

 

NOTE:      The files used to hold the statistics should be cleared out periodically.

 

PROIV may optionally be configured to output a warning message when the total size of the memory areas, or the amount of stack space used, is so large that the function may not be portable to other platforms.  The message is:

530 - WARNING - FUNCTION IS VERY LARGE AND MAY NOT BE PORTABLE 

This warning may be enabled for gentime to indicate that the total size of the memory areas exceeds 32768 bytes, or it may be enabled for runtime to indicate that the minimum free memory area is less than 1024 bytes.

Comment on this topic

Topic ID: 730113

 
 
 

Table of Contents

Index

Glossary

-Search-

Back