⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pxp.1

📁 早期freebsd实现
💻 1
字号:
.\" Copyright (c) 1980, 1990, 1993.\"	The Regents of the University of California.  All rights reserved..\".\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\"    notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\"    notice, this list of conditions and the following disclaimer in the.\"    documentation and/or other materials provided with the distribution..\" 3. All advertising materials mentioning features or use of this software.\"    must display the following acknowledgement:.\"	This product includes software developed by the University of.\"	California, Berkeley and its contributors..\" 4. Neither the name of the University nor the names of its contributors.\"    may be used to endorse or promote products derived from this software.\"    without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".\"	@(#)pxp.1	8.1 (Berkeley) 6/6/93.\".Dd June 6, 1993.Dt PXP 1.Os BSD 3.Sh NAME.Nm pxp.Nd Pascal execution profiler.Sh SYNOPSIS.Nm pxp.Op Fl acdefjnstuw_.Op Fl 23456789.Op Fl z Op Ar name ....Ar name.p.Sh DESCRIPTION.Nm Pxpcan be used to obtain execution profiles of Pascal programs oras a pretty-printer.To produce an execution profile all that is necessary is to translatethe program specifying the.Fl zoption to.Xr pi 1or.Xr pix 1 ,to execute the program,and to then issue the command.Bd -literal -offset indentpxp -x name.p.Ed.PpA reformatted listing is output if none of the.Fl c  ,.Fl t ,or.Fl zoptions are specified;thus.Bd -literal -offset indentpxp old.p > new.p.Ed.Ppplaces a pretty-printed version of the program in `old.p' in the file `new.p'..PpThe use of the following options of.Nm pxpis discussed in sections 2.6, 5.4, 5.5 and 5.10 of the.%T "Berkeley Pascal User's Manual" ..Bl -tag -width Fl.It Fl aPrint the bodies of all procedures and functions in the profile;even those which were never executed..It Fl cExtract profile data from the file.Pa core  ..It Fl dInclude declaration parts in a profile..It Fl eEliminate.Ic includedirectives when reformatting a file;the.Ic includeis replaced by the reformatted contents of the specifiedfile..It Fl fFully parenthesize expressions..It Fl jLeft justify all procedures and functions..It Fl nEject a new pageas each file is included;in profiles, print a blank line at the top of the page..It Fl sStrip comments from the input text..It Fl tPrint a table summarizing.Ic procedureand.Ic functioncall counts..It Fl uCard image mode; only the first 72 characters of input linesare used..It Fl wSuppress warning diagnostics..It Fl zGenerate an execution profile.If no.Ar name Ns 'sare given the profile is of the entire program.If a list of names is given, then only any specified.Ic procedure Ns sor.Cx Ic function Ns sand the contents of any specified.Ic includefiles will appear in the profile..It Fl \&_Underline keywords..It Fl dWith.Ar da digit, 2 \*(Le.Ar d\*(Le 9,causes.Nm pxpto use.Ar dspaces as the basic indenting unit.The default is 4..El.Sh FILES.Bl -tag -width /usr/lib/how_pxp -compact.It Pa name.pinput file.It Pa name.iinclude file(s).It Pa pmon.outprofile data.It Pa coreprofile data source with.Fl c.It Pa /usr/lib/how_pxpinformation on basic usage.El.Sh SEE ALSO.Xr pi 1 ,.Xr px 1.Rs.%T "Berkeley Pascal User's Manual".Re.Sh DIAGNOSTICSFor a basic explanation do.Bd -literal -offset indentpxp.Ed.PpError diagnostics include`No profile data in file'with the.Fl coption if the.Fl zoption was not enabled to.Nm pi ;`Not a Pascal system core file'if the core is not from a.Nm pxexecution;`Program and count data do not correspond'if the program was changed after compilation, before profiling;or if the wrong program is specified..Sh HISTORY.Nm Pxpappeared in.Bx 3.0 ..Sh BUGSDoes not place multiple statements per line.

⌨️ 快捷键说明

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