24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PERF. [CALLI 162]<br />

22.121 PERF. [CALLI 162]<br />

FUNCTION<br />

Allows privileged programs to perform system measurements over a<br />

period of time. The PERF. call works only on the KL<strong>10</strong> processor.<br />

Note that only one job at a time may uS'e the performance meter on each<br />

cpu. The PERF. functions are discussed in Chapter <strong>10</strong>.<br />

CALLING SEQUENCE<br />

MOVE ac, [XWD fl, addr]<br />

PERF. ac,<br />

error return<br />

skip return<br />

addr: XWD fcncode,faddr<br />

XWD<br />

fcncode,faddr<br />

In the calling sequence, the program supplies the following variables:<br />

o<br />

n is the number of function words specified in the argument<br />

block, which begins at addr.<br />

o addr is the address of the argument block. The argument<br />

block is a list of the functions to be enabled and the<br />

address of the argument list that defines each function,<br />

allowing you to specify multiple functions in a single<br />

monitor call.<br />

o fcncode is one of the function codes described on the<br />

following pages of this manual.<br />

o faddr is the address of the function code argument<br />

Each function must have a corresponding argument list.<br />

argument lists are described with the function codes.<br />

list.<br />

These<br />

The function codes and their meanings are:<br />

Code<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

Symbol<br />

. PRSET<br />

.PRSTR<br />

.PRRED<br />

.PRSTP<br />

.PRRES<br />

.PRBPF<br />

.PRBPN<br />

Function<br />

Sets up the performance meter .<br />

Starts the performance meter.<br />

Reads the performance meter.<br />

Stops the performance meter.<br />

Releases the performance meter.<br />

Turns background PERF analysis off.<br />

Turns background PERF analysis on.<br />

22-303

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!