| 1 |
<page xmlns="http://projectmallard.org/1.0/" |
| 2 |
xmlns:its="http://www.w3.org/2005/11/its" |
| 3 |
type="topic" |
| 4 |
id="introduction"> |
| 5 |
|
| 6 |
<info> |
| 7 |
<link type="guide" xref="index"/> |
| 8 |
<!-- |
| 9 |
<link type="guide" xref="index#features"/> |
| 10 |
<link type="seealso" xref="anotherpageid"/> |
| 11 |
--> |
| 12 |
<revision pkgversion="3.20" date="2016-04-04" status="stub" /> |
| 13 |
|
| 14 |
<credit type="author"> |
| 15 |
<name>Christian Hergert</name> |
| 16 |
<email its:translate="no">[email protected]</email> |
| 17 |
<years>2016</years> |
| 18 |
</credit> |
| 19 |
|
| 20 |
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/> |
| 21 |
|
| 22 |
<desc>Welcome to <app>Sysprof</app>!</desc> |
| 23 |
</info> |
| 24 |
|
| 25 |
<title>Introduction</title> |
| 26 |
|
| 27 |
<p><app>Sysprof</app> is a system profiler for Linux that targets |
| 28 |
the GNOME desktop.</p> |
| 29 |
|
| 30 |
<section id="what-is-a-profiler"> |
| 31 |
<info> |
| 32 |
<link type="guide" xref="index"/> |
| 33 |
<desc>Differences between tracing and sampling</desc> |
| 34 |
</info> |
| 35 |
<title>What is a Profiler?</title> |
| 36 |
|
| 37 |
<p>A profiler is an application that records information about an |
| 38 |
application or system while it runs. That information can be explored to |
| 39 |
gain insight into how the application could be changed to perform |
| 40 |
better.</p> |
| 41 |
|
| 42 |
<p>Two common categories of software profilers exist, commonly referred |
| 43 |
to as either tracing or sampling profilers. What is meant by tracing |
| 44 |
profiler is that every function call executed by the program is known to the |
| 45 |
profiler. A sampling profiler works by inspecting the state of the |
| 46 |
program on a regular frequency and therefore does not see every function |
| 47 |
call executed by the program.</p> |
| 48 |
|
| 49 |
<p>Both tracing and sampling profilers have their advantages. A |
| 50 |
notable advantage of a sampling profiler is that the overhead is much |
| 51 |
less than that of a tracing profiler, making it easier to use for |
| 52 |
software that requires interactivity.</p> |
| 53 |
|
| 54 |
<p><app>Sysprof</app> is a sampling profiler.</p> |
| 55 |
</section> |
| 56 |
|
| 57 |
</page> |