1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >Application profiling</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
22 TITLE="CPU Load Measurements"
23 HREF="cpuload-functions.html"><LINK
25 TITLE="Profiling functions"
26 HREF="profile-functions.html"></HEAD
37 SUMMARY="Header navigation table"
46 >eCos Reference Manual</TH
54 HREF="cpuload-functions.html"
68 HREF="profile-functions.html"
80 NAME="SERVICES-PROFILE-GPROF"><DIV
84 >XX. Application profiling</H1
89 >The profile_gprof package provides a mechanism to measure the
90 runtime performance of an application. This is done by gathering
91 an execution histogram.</P
93 >When profiling is started on the target device, a
98 server will be started
99 which exports the single file
104 This analysis data can then be fetched
105 by connecting to the target with a <TT
110 and then be processed by the
123 >Be sure and specify binary mode transfers for this data file,
124 which may not be the default with on some <TT
139 >The port used for this <TT
143 configurable. The default will be the IETF standard port
144 of 69/UDP, but it may be changed to any UDP port via the
147 >CYGNUM_PROFILE_TFTP_PORT</TT
158 >Table of Contents</B
162 HREF="profile-functions.html"
163 >Profiling functions</A
174 SUMMARY="Footer navigation table"
185 HREF="cpuload-functions.html"
203 HREF="profile-functions.html"
213 >CPU Load Measurements</TD
223 >Profiling functions</TD