OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [services-profile-gprof.html] - Blame information for rev 219

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- 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.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>Application profiling</TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos Reference Manual"
20
HREF="ecos-ref.html"><LINK
21
REL="PREVIOUS"
22
TITLE="CPU Load Measurements"
23
HREF="cpuload-functions.html"><LINK
24
REL="NEXT"
25
TITLE="Profiling functions"
26
HREF="profile-functions.html"></HEAD
27
><BODY
28
CLASS="PART"
29
BGCOLOR="#FFFFFF"
30
TEXT="#000000"
31
LINK="#0000FF"
32
VLINK="#840084"
33
ALINK="#0000FF"
34
><DIV
35
CLASS="NAVHEADER"
36
><TABLE
37
SUMMARY="Header navigation table"
38
WIDTH="100%"
39
BORDER="0"
40
CELLPADDING="0"
41
CELLSPACING="0"
42
><TR
43
><TH
44
COLSPAN="3"
45
ALIGN="center"
46
>eCos Reference Manual</TH
47
></TR
48
><TR
49
><TD
50
WIDTH="10%"
51
ALIGN="left"
52
VALIGN="bottom"
53
><A
54
HREF="cpuload-functions.html"
55
ACCESSKEY="P"
56
>Prev</A
57
></TD
58
><TD
59
WIDTH="80%"
60
ALIGN="center"
61
VALIGN="bottom"
62
></TD
63
><TD
64
WIDTH="10%"
65
ALIGN="right"
66
VALIGN="bottom"
67
><A
68
HREF="profile-functions.html"
69
ACCESSKEY="N"
70
>Next</A
71
></TD
72
></TR
73
></TABLE
74
><HR
75
ALIGN="LEFT"
76
WIDTH="100%"></DIV
77
><DIV
78
CLASS="PART"
79
><A
80
NAME="SERVICES-PROFILE-GPROF"><DIV
81
CLASS="TITLEPAGE"
82
><H1
83
CLASS="TITLE"
84
>XX. Application profiling</H1
85
><DIV
86
CLASS="PARTINTRO"
87
><A
88
NAME="AEN15538"><P
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
92
><P
93
>When profiling is started on the target device, a
94
<TT
95
CLASS="FUNCTION"
96
>TFTP</TT
97
>
98
server will be started
99
which exports the single file
100
<TT
101
CLASS="FILENAME"
102
>PROFILE.DAT</TT
103
>
104
This analysis data can then be fetched
105
by connecting to the target with a <TT
106
CLASS="FUNCTION"
107
>TFTP</TT
108
>
109
client program
110
and then be processed by the
111
<TT
112
CLASS="FUNCTION"
113
>gprof</TT
114
>
115
utility program.
116
<DIV
117
CLASS="NOTE"
118
><BLOCKQUOTE
119
CLASS="NOTE"
120
><P
121
><B
122
>NOTE: </B
123
>Be sure and specify binary mode transfers for this data file,
124
which may not be the default with on some <TT
125
CLASS="FUNCTION"
126
>TFTP</TT
127
>
128
client programs.</P
129
></BLOCKQUOTE
130
></DIV
131
>
132
<DIV
133
CLASS="NOTE"
134
><BLOCKQUOTE
135
CLASS="NOTE"
136
><P
137
><B
138
>NOTE: </B
139
>The port used for this <TT
140
CLASS="FUNCTION"
141
>TFTP</TT
142
> server is
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
145
<TT
146
CLASS="LITERAL"
147
>CYGNUM_PROFILE_TFTP_PORT</TT
148
> CDL option.</P
149
></BLOCKQUOTE
150
></DIV
151
></P
152
></DIV
153
><DIV
154
CLASS="TOC"
155
><DL
156
><DT
157
><B
158
>Table of Contents</B
159
></DT
160
><DT
161
>52. <A
162
HREF="profile-functions.html"
163
>Profiling functions</A
164
></DT
165
></DL
166
></DIV
167
></DIV
168
></DIV
169
><DIV
170
CLASS="NAVFOOTER"
171
><HR
172
ALIGN="LEFT"
173
WIDTH="100%"><TABLE
174
SUMMARY="Footer navigation table"
175
WIDTH="100%"
176
BORDER="0"
177
CELLPADDING="0"
178
CELLSPACING="0"
179
><TR
180
><TD
181
WIDTH="33%"
182
ALIGN="left"
183
VALIGN="top"
184
><A
185
HREF="cpuload-functions.html"
186
ACCESSKEY="P"
187
>Prev</A
188
></TD
189
><TD
190
WIDTH="34%"
191
ALIGN="center"
192
VALIGN="top"
193
><A
194
HREF="ecos-ref.html"
195
ACCESSKEY="H"
196
>Home</A
197
></TD
198
><TD
199
WIDTH="33%"
200
ALIGN="right"
201
VALIGN="top"
202
><A
203
HREF="profile-functions.html"
204
ACCESSKEY="N"
205
>Next</A
206
></TD
207
></TR
208
><TR
209
><TD
210
WIDTH="33%"
211
ALIGN="left"
212
VALIGN="top"
213
>CPU Load Measurements</TD
214
><TD
215
WIDTH="34%"
216
ALIGN="center"
217
VALIGN="top"
218
>&nbsp;</TD
219
><TD
220
WIDTH="33%"
221
ALIGN="right"
222
VALIGN="top"
223
>Profiling functions</TD
224
></TR
225
></TABLE
226
></DIV
227
></BODY
228
></HTML
229
>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.