FPT and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Reference Manual Home |
Syntax:
SHOW [SHARED] MEMORY [INTERFACE[S]] <program> [ ,<program> ]...
|
Function:
This command shows the variables which are used to transfer data into and out of the named programs through shared memory.
FPT is run on a suite of programs which share COMMON blocks. Read and write access to the variables in the COMMON blocks is analysed, and the flow of data is reported. FPT takes EQUIVALENCE relationships into account when making the analysis.
Where to use this command:
Operating system command line |
Yes |
|
Configuration file, config.fsp |
Yes |
|
Specification (FSP) files, *.fsp |
Yes |
|
Interactively, to FPT> prompt: |
Yes |
|
Interactive command files |
Yes |
|
Embedded in the Fortran code |
No |
|
Example:
FPT is used to analyse a suite of programs which share COMMON blocks through reflective memory. The command:
FPT> show shared memory datlog
generates the report:
Shared Memory Interfaces
========================
Shared Memory Interfaces for PROGRAM DATLOG
===========================================
COMMON /GLOBAL02/ is shared
Objects imported into DATLOG
----------------------------
Name Address Size
---- ------- ----
HT 12 4
X 104 4
Y 108 4
P 140 4
Q 144 4
R 148 4
Total size 24
Objects exported from DATLOG
----------------------------
Name Address Size
---- ------- ----
LOGGINGF 524 4
LOGRATE 528 4
LOGBUFF 536 196
Total size 204
Grand total memory imported: 24
Grand total memory exported: 204
******************************************************************************
Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.