You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 3 години
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- This file documents the gprof profiler of the GNU system.
  4. Copyright (C) 1988-2020 Free Software Foundation, Inc.
  5. Permission is granted to copy, distribute and/or modify this document
  6. under the terms of the GNU Free Documentation License, Version 1.3
  7. or any later version published by the Free Software Foundation;
  8. with no Invariant Sections, with no Front-Cover Texts, and with no
  9. Back-Cover Texts. A copy of the license is included in the
  10. section entitled "GNU Free Documentation License".
  11. -->
  12. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  13. <head>
  14. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  15. <title>Output (GNU gprof)</title>
  16. <meta name="description" content="Output (GNU gprof)">
  17. <meta name="keywords" content="Output (GNU gprof)">
  18. <meta name="resource-type" content="document">
  19. <meta name="distribution" content="global">
  20. <meta name="Generator" content="makeinfo">
  21. <link href="index.html#Top" rel="start" title="Top">
  22. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  23. <link href="index.html#Top" rel="up" title="Top">
  24. <link href="Flat-Profile.html#Flat-Profile" rel="next" title="Flat Profile">
  25. <link href="Symspecs.html#Symspecs" rel="prev" title="Symspecs">
  26. <style type="text/css">
  27. <!--
  28. a.summary-letter {text-decoration: none}
  29. blockquote.indentedblock {margin-right: 0em}
  30. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  31. blockquote.smallquotation {font-size: smaller}
  32. div.display {margin-left: 3.2em}
  33. div.example {margin-left: 3.2em}
  34. div.lisp {margin-left: 3.2em}
  35. div.smalldisplay {margin-left: 3.2em}
  36. div.smallexample {margin-left: 3.2em}
  37. div.smalllisp {margin-left: 3.2em}
  38. kbd {font-style: oblique}
  39. pre.display {font-family: inherit}
  40. pre.format {font-family: inherit}
  41. pre.menu-comment {font-family: serif}
  42. pre.menu-preformatted {font-family: serif}
  43. pre.smalldisplay {font-family: inherit; font-size: smaller}
  44. pre.smallexample {font-size: smaller}
  45. pre.smallformat {font-family: inherit; font-size: smaller}
  46. pre.smalllisp {font-size: smaller}
  47. span.nolinebreak {white-space: nowrap}
  48. span.roman {font-family: initial; font-weight: normal}
  49. span.sansserif {font-family: sans-serif; font-weight: normal}
  50. ul.no-bullet {list-style: none}
  51. -->
  52. </style>
  53. </head>
  54. <body lang="en">
  55. <a name="Output"></a>
  56. <div class="header">
  57. <p>
  58. Next: <a href="Inaccuracy.html#Inaccuracy" accesskey="n" rel="next">Inaccuracy</a>, Previous: <a href="Invoking.html#Invoking" accesskey="p" rel="prev">Invoking</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
  59. </div>
  60. <hr>
  61. <a name="Interpreting-gprof_0027s-Output"></a>
  62. <h2 class="chapter">5 Interpreting <code>gprof</code>&rsquo;s Output</h2>
  63. <p><code>gprof</code> can produce several different output styles, the
  64. most important of which are described below. The simplest output
  65. styles (file information, execution count, and function and file ordering)
  66. are not described here, but are documented with the respective options
  67. that trigger them.
  68. See <a href="Output-Options.html#Output-Options">Output Options</a>.
  69. </p>
  70. <table class="menu" border="0" cellspacing="0">
  71. <tr><td align="left" valign="top">&bull; <a href="Flat-Profile.html#Flat-Profile" accesskey="1">Flat Profile</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">The flat profile shows how much time was spent
  72. executing directly in each function.
  73. </td></tr>
  74. <tr><td align="left" valign="top">&bull; <a href="Call-Graph.html#Call-Graph" accesskey="2">Call Graph</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">The call graph shows which functions called which
  75. others, and how much time each function used
  76. when its subroutine calls are included.
  77. </td></tr>
  78. <tr><td align="left" valign="top">&bull; <a href="Line_002dby_002dline.html#Line_002dby_002dline" accesskey="3">Line-by-line</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top"><code>gprof</code> can analyze individual source code lines
  79. </td></tr>
  80. <tr><td align="left" valign="top">&bull; <a href="Annotated-Source.html#Annotated-Source" accesskey="4">Annotated Source</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">The annotated source listing displays source code
  81. labeled with execution counts
  82. </td></tr>
  83. </table>
  84. </body>
  85. </html>