HP IA-64, Ski Simulator manual XSki File, Summary of Flags

Models: IA-64 Ski Simulator

1 110
Download 110 pages 21.23 Kb
Page 35
Image 35

Ski IA-64 Simulator Reference Manual 1.0L

standard Linux fashion. The Ski command line syntax is shown below. The -i, -rest, -icnt, and -statsflags can appear in any order.

ski [-help][-ifilename ] [-restfilename ] [program_filename [args]+]

xski [-help][-noconsole][-i

filename ] [-restfilename ] [program_filename [args]+]

bski [-help][-noconsole][-i

filename ] [-restfilename ] [-icntfilename ] [-stats] [program_filename

[args]+]

 

 

2.5.1.1

Summary of Flags

 

-help

 

 

A list of flags accepted by this variety of Ski ( ski, xski, or bski) is printed out. No other processing is done and Ski terminates.

-ifilename

The specified file is run as a command file before the first prompt to the user. If an program_filename is provided on the same command line, the program_filename is loaded before the command file is run. This provides a convenient way to load a program, initialize other machine state, and then turn control over to the user.

-icntfilename

For bski only: This flag specifies instruction counts should be saved in the specified file. For each kind of instruction executed during the simulation, the instruction count file shows five fields of information:

The instruction mnemonic

The total number of times the instruction was executed

The number of executions that were predicated on

The number of executions that were predicated off

The number of executions that were predicated on predicate register 0, which is “hardwired” on The value in the second field equals the sum of the values in the last three fields.

-noconsole

For xski and bski only: This flag tells Ski not to create a separate console window for the simulated program’s standard I/O. Instead, Ski will use the existing console window’s for standard I/O purposes in the simulated program.

-restfilename

Restore the simulator run saved in filename . See Section 8.6, “Saving and Restoring the Simulator State”. This flag cannot be combined with an program_filename . If combined with a -iflag, the -iflag is accepted and the -restflag is silently ignored.

-stats

For bski only: specifies execution run-time and instruction rate information should be send to standard out (stdout) at the end of the run. This information is normally displayed in the Main/Command Window of xski and ski. The -statsflag allows users of bski to get the same information.

2.5.2The XSki File

xski’s screen presentation is substantially controlled by the contents of the XSki file, which uses the X Window System’s resource mechanism to provide information to xski. You can edit this file to change xski’s use of graphic buttons, described in Section 3.7.1, “The xski Main Window”. The XSki file is part of the standard Ski distribution and you should put this file in your X Window System’s app-defaultsdirectory or in your home directory. If there is no valid XSki file, the simulator will not be usable. You can find more information on installing xski in the release notes that come with each Ski distribution.

Copyright © 2000 Hewlett-Packard Co.

Overview

2-5

Page 35
Image 35
HP IA-64, Ski Simulator manual XSki File, Summary of Flags