fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
CALL STRUCTURE LISTING
Syntax:
[NO] CALL STRUCTURE LISTING
[DO NOT] LIST CALL STRUCTURE
[DO NOT] SHOW CALL STRUCTURE
Function:
Instructs fpt to generate a listing of the program call structure. The listing is divided into two sections. Firstly, the sub-programs are listed in alphabetical order and the routines by which they are called, and the routines which they in turn call, are listed. An example listing is shown below:
SUBROUTINE ISGO --------------- Called by: CHESS Sub-programs Called: ISCAS BMOVE WMOVE
Secondly, a call tree of the entire program or suite of programs is displayed. Please see the SHOW CALL TREE command for a description of the settings which control this display. Sub-programs which have not been read by fpt are shown in parenthesis, as is SECNDS in the example below.
Call Tree: CHESS ================ 0 CHESS 1 ! (SECNDS) 1 ! HEUR 2 ! ! MYCAS 3 ! ! ! BMOVE 2 ! ! WMOVE
(The listing continues)
When fpt is run interactively, the listing is directed to the screen by default. It may be re-directed by the commands [NO] LIST TO FILE and [NO] LIST TO TERMINAL.
An interactive listing may be terminated by the command STOP CALL STRUCTURE LISTING.
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 | Yes |
Default
NO CALL STRUCTURE LISTING
(Note that defaults may be changed in the configuration file)
See Also
CALL STRUCTURE LISTING DEPTH
SHOW CALL TREE
Copyright ©1995 to 2024 Software Validation Ltd. All rights reserved.