Time – HP SunSoft Pascal 4.0 User Manual

Page 72

Advertising
background image

48

Pascal 4.0 User’s Guide

3

–time

The

–time

option instructs the compiler to report execution performance

statistics for the various compilation passes. Here is some sample output;
some spaces have been removed so the output would fit on the page.

Each line begins with the name of the compiler pass. The rest of the line is
divided into four parts:

time

,

core

,

io

, and

pf

.

time

gives the time used by that pass of the compiler, in this order:

a. User time

b. System time

c. Total CPU time, which is the sum of user and system time

d. Real (clock) time

e. Percent of real time used by CPU time

core

gives memory usage statistics for the pass, in this order:

a. The first item is always 0, and currently has no meaning.

b. The second item is the integral resident set size.

The

io

section gives the volume of input and output operations, expressed

in blocks.

The

pf

section gives the amount of page faults, expressed in pages, in this

order:

a. Page faults not requiring physical I/O

b. Page faults requiring physical I/O

hostname% pc -time hello.p

cpp:time U:0.0s+S:0.1s=0.2s REAL:1.6s 11%. core T:0k D:0k. io IN:4b OUT:3b. pf IN:25p OUt:184p.

pc0:time U:0.0s+S:0.3s=0.4s REAL:3.2s 13%. core T:0k D:4k. io IN:4b OUT:4b. pf IN:70pOUT:131p.

cg: time U:0.0s+S:0.1s=0.2s REAL:2.0s 12%. core T:0k D:1k. io IN:2b OUT:1b. pf IN:39p OUT:163p.

as: time U:0.0s+S:0.2s=0.3s REAL:1.5s 19%. core T:0k D:1k. io IN:3b OUT:10b.pf IN:33pOUT:117p.

pc3:time U:0.1s+S:0.1s=0.3s REAL:0.9s 31%. core T:0k D:1k. io IN:7b OUT:0b. pf IN:20pOUT:109p.

ld:time U:0.8s+S:0.9s=1.8sREAL:10.2s 17%. core T:0k D:21k.io IN:74bOUT:29b.pf IN:89pOUT:184p.

Advertising