fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

SHOW CALL STRUCTURE

Syntax:

SHOW CALL STRUCTURE [NO] CALL STRUCTURE LISTING [DO NOT] LIST CALL STRUCTURE

Function:

fpt generates a listing of the program call structure. The listing is divided into two sections. Firstly the sub-programs are listed in alphabetical order showing the routines by which they are called and the routines which they call. 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

(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

See also:

CALL STRUCTURE LISTING DEPTH

SHOW CALL TREE

Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.