prof.1

来自「UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱」· 1 代码 · 共 74 行

1
74
字号
.th PROF I 3/12/73.sh NAMEprof \*- display profile data.sh SYNOPSIS.bd prof[.bd \*-v] [.bd \*-a] [.bd \*-l] [ file ].sh DESCRIPTION.it Profinterprets the file.it mon.outproduced by the.it monitorsubroutine.Under default modes,the symbol table in thenamed object file.it (a.outdefault)is read and correlated with the.it mon.outprofile file.For each external symbol, the percentageof time spent executing between that symboland the nextis printed (in decreasing order),together with the number of times that routine was calledand the number of milliseconds per call..s3If the.bd \*-aoption is used,all symbols are reported rather thanjust external symbols.If the.bd \*-loptionis used,the output is listed bysymbol value rather thandecreasing percentage.If the.bd \*-voption is used,all printing is suppressedand a profile plot is producedon the 611 display..s3In order for the number of calls to a routine to be tallied,the.bd \*-poption of.it ccmust have been given when the file containing theroutine was compiled.This option also arranges for the.it mon.outfile to be produced automatically..sh FILESmon.out	for profile.bra.out		for namelist.br/dev/vt0	for plotting.sh "SEE ALSO"monitor (III), profil (II), cc (I).sh BUGSBeware of quantization errors.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?