xscale_be-gcov.1
来自「Intel ixp425 toolchain」· 1 代码 · 共 454 行 · 第 1/2 页
1
454 行
.\" Automatically generated by Pod::Man version 1.15.\" Wed Aug 14 09:36:35 2002.\".\" Standard preamble:.\" ======================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Ip \" List item.br.ie \\n(.$>=3 .ne \\$3.el .ne 3.IP "\\$1" \\$2...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings. \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote. | will give a.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used.\" to do unbreakable dashes and therefore won't be available. \*(C` and.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>.tr \(*W-|\(bv\*(Tr.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\. ds -- \(*W-. ds PI pi. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch. ds L" "". ds R" "". ds C` "". ds C' ""'br\}.el\{\. ds -- \|\(em\|. ds PI \(*p. ds L" ``. ds R" '''br\}.\".\" If the F register is turned on, we'll generate index entries on stderr.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and.\" index entries marked with X<> in POD. Of course, you'll have to process.\" the output yourself in some meaningful fashion..if \nF \{\. de IX. tm Index:\\$1\t\\n%\t"\\$2"... nr % 0. rr F.\}.\".\" For nroff, turn off justification. Always turn off hyphenation; it.\" makes way too many mistakes in technical documents..hy 0.if n .na.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear. Run. Save yourself. No user-serviceable parts..bd B 3. \" fudge factors for nroff and troff.if n \{\. ds #H 0. ds #V .8m. ds #F .3m. ds #[ \f1. ds #] \fP.\}.if t \{\. ds #H ((1u-(\\\\n(.fu%2u))*.13m). ds #V .6m. ds #F 0. ds #[ \&. ds #] \&.\}. \" simple accents for nroff and troff.if n \{\. ds ' \&. ds ` \&. ds ^ \&. ds , \&. ds ~ ~. ds /.\}.if t \{\. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u". ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}. \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E. \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'. \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\. ds : e. ds 8 ss. ds o a. ds d- d\h'-1'\(ga. ds D- D\h'-1'\(hy. ds th \o'bp'. ds Th \o'LP'. ds ae ae. ds Ae AE.\}.rm #[ #] #H #V #F C.\" ======================================================================.\".IX Title "GCOV 1".TH GCOV 1 "gcc-3.2" "2002-08-14" "GNU".UC.SH "NAME"gcov \- coverage testing tool.SH "SYNOPSIS".IX Header "SYNOPSIS"gcov [\fB\-v\fR|\fB\*(--version\fR] [\fB\-h\fR|\fB\*(--help\fR] [\fB\-b\fR|\fB\*(--branch-probabilities\fR] [\fB\-c\fR|\fB\*(--branch-counts\fR] [\fB\-n\fR|\fB\*(--no-output\fR] [\fB\-l\fR|\fB\*(--long-file-names\fR] [\fB\-f\fR|\fB\*(--function-summaries\fR] [\fB\-o\fR|\fB\*(--object-directory\fR \fIdirectory\fR] \fIsourcefile\fR.SH "DESCRIPTION".IX Header "DESCRIPTION"\&\fBgcov\fR is a test coverage program. Use it in concert with \s-1GCC\s0to analyze your programs to help create more efficient, fasterrunning code. You can use \fBgcov\fR as a profiling tool to helpdiscover where your optimization efforts will best affect your code. Youcan also use \fBgcov\fR along with the other profiling tool,\&\fBgprof\fR, to assess which parts of your code use the greatest amountof computing time..PPProfiling tools help you analyze your code's performance. Using aprofiler such as \fBgcov\fR or \fBgprof\fR, you can find out somebasic performance statistics, such as:.Ip "\(bu" 4how often each line of code executes.Ip "\(bu" 4what lines of code are actually executed.Ip "\(bu" 4how much computing time each section of code uses.PPOnce you know these things about how your code works when compiled, youcan look at each module to see which modules should be optimized.\&\fBgcov\fR helps you determine where to work on optimization..PPSoftware developers also use coverage testing in concert withtestsuites, to make sure software is actually good enough for a release.Testsuites can verify that a program works as expected; a coverageprogram tests to see how much of the program is exercised by thetestsuite. Developers can then determine what kinds of test cases needto be added to the testsuites to create both better testing and a betterfinal product..PPYou should compile your code without optimization if you plan to use\&\fBgcov\fR because the optimization, by combining some lines of codeinto one function, may not give you as much information as you need tolook for `hot spots' where the code is using a great deal of computertime. Likewise, because \fBgcov\fR accumulates statistics by line (atthe lowest resolution), it works best with a programming style thatplaces only one statement on each line. If you use complicated macrosthat expand to loops or to other control structures, the statistics areless helpful\-\-\-they only report on the line where the macro callappears. If your complex macros behave like functions, you can replacethem with inline functions to solve this problem..PP\&\fBgcov\fR creates a logfile called \fI\fIsourcefile\fI.gcov\fR whichindicates how many times each line of a source file \fI\fIsourcefile\fI.c\fRhas executed. You can use these logfiles along with \fBgprof\fR to aidin fine-tuning the performance of your programs. \fBgprof\fR givestiming information you can use along with the information you get from\&\fBgcov\fR..PP\&\fBgcov\fR works only on code compiled with \s-1GCC\s0. It is notcompatible with any other profiling or test coverage mechanism..SH "OPTIONS".IX Header "OPTIONS".Ip "\fB\-h\fR" 4.IX Item "-h".PD 0.Ip "\fB\*(--help\fR" 4.IX Item "help".PDDisplay help about using \fBgcov\fR (on the standard output), andexit without doing any further processing..Ip "\fB\-v\fR" 4.IX Item "-v".PD 0.Ip "\fB\*(--version\fR" 4.IX Item "version".PDDisplay the \fBgcov\fR version number (on the standard output),and exit without doing any further processing..Ip "\fB\-b\fR" 4.IX Item "-b".PD 0.Ip "\fB\*(--branch-probabilities\fR" 4.IX Item "branch-probabilities"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?