Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit
» 

DSPP Home

» HP STK home
Tru64 UNIX STK
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» FAQ
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
» DSPP
Content starts here

critical impact:

cord, pixie, and prof - not available; use profile-based optimization (CrUn230)

CC Impacts

Problem description

The cord, pixie, and prof development tools exist on Tru64 UNIX, but not on HP-UX. However, you can use the HP-UX C and C++ compiler's profile-based optimization as a replacement.

The cord development tool rearranges procedures within an executable or shared library to improve instruction cache performance. The order is based on execution profile data.

The pixie development tool is used to instrument an executable or shared library to collect execution profile data.

The prof development tool is used to view execution profile data or to write it to a feedback file that can be read by ftoc. The HP-UX prof tool supports a different command-line interface, and it neither understands pixie execution profile data nor writes feedback files that can be read by ftoc.

The ftoc development tool is used to create a reorder file for use with cord-based execution profile data that it reads from a feedback file.

Identifiers

UNIX Commandscord UNIX Commandsftoc UNIX Commandspixie UNIX Commandsprof UNIX Commandsruncord

Old behavior

% cc -o hello hello.c
% pixie -o hello.pixie hello
% hello.pixie
% prof -pixie -feedback hello.feedback hello
% ftoc hello.feedback > hello.reorder
% cord -o hello.cord hello hello.reorder

Or:

% cc -o hello hello.c
% pixie -o hello.pixie hello
% hello.pixie
% prof -pixie -feedback hello.feedback hello
% runcord -feedback hello.feedback -o hello.cord hello

See also

Solution description

Use the C and C++ compiler's profile-based optimization to achieve similar results.

The correct way to optimize an application's instruction cache performance is to build it with the HP-UX C or C++ compiler +Oprofile=use option. You must first collect the execution profile data by compiling the application with +Oprofile=collect and running it on a sample set of data.

New behavior

% cc -o hello +Oprofile=collect hello.c
% ./hello
% cc -o hello +Oprofile=use hello.c

See also


Problem summary

classifications source types OS release severity type
CC Make, Script any HP-UX 11i version critical unavailable
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.