Xx. application profiling – Comtrol eCos User Manual

Page 651

Advertising
background image

XX. Application profiling

The profile_gprof package provides a mechanism to measure the runtime performance of an application. This is
done by gathering an execution histogram.

When profiling is started on the target device, a

TFTP

server will be started which exports the single file

PRO-

FILE.DAT

This analysis data can then be fetched by connecting to the target with a

TFTP

client program and then

be processed by the

gprof

utility program.

NOTE: Be sure and specify binary mode transfers for this data file, which may not be the default with on some

TFTP

client programs.

NOTE: The port used for this

TFTP

server is configurable. The default will be the IETF standard port of 69/UDP,

but it may be changed to any UDP port via the

CYGNUM_PROFILE_TFTP_PORT

CDL option.

Advertising