*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> ftoc (1)              
Title
Content
Arch
Section
 

ftoc(1)

Contents


NAME    [Toc]    [Back]

       ftoc - interface between prof and cord

SYNOPSIS    [Toc]    [Back]

       ftoc file1...

DESCRIPTION    [Toc]    [Back]

       The  ftoc  interface reads one or more feedback files produced
 by the -feedback option of the profiler prof(1)  and
       writes  onto stdout a reorder-file for use with the cacherearranging
 program cord(1).  It interprets each  feedback
       file  as  representing one phase of a program's execution.
       In other words, if a program behaves in two distinct  ways
       depending  on  its  input,  you could create two different
       feedback files by executing the program twice with different
  input  data,  and  both ftoc and cord will understand
       that the information from the first file is distinct  from
       that of the second file.

       As  an  example,  to improve the instruction-cache performance
 of a program called hello, you could generate a  new
       hello.cord program by saying:

       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

       The reorderfile consists of a list of lines of the form:

       sourcefile procname.procname... n

       where "procname.procname..." represents an  outer-to-inner
       list  of nested procedures, and n is 10 times the percentage
 of the procedure's "density" with respect to the total
       of  the  densities  of  all  procedures. ("Density" is the
       ratio of a procedure's total cycles to  its  total  static
       instructions.)  A  line  consisting  of "$phase" separates
       information from different feedback files.

SEE ALSO    [Toc]    [Back]

      
      
       cord(1), pixie(1), prof(1)



                                                          ftoc(1)
[ Back ]
 Similar pages
Name OS Title
ssdoallexp IRIX script to run all experiments, prof, ssdump, etc. on an executable
ssdoexp IRIX script to run an experiment, and invoke prof and ssdump on it
fbdump IRIX print out compiler feedback files from prof
feedback Tru64 Generate an optimization feedback file using pixie and prof
cvcord IRIX explore working set behavior and generate cord feedback files
sscord IRIX explore working set behavior and generate cord feedback files
ssorder IRIX compute and write cord feedback files from working set data
runcord Tru64 invokes cord to rearrange procedures in an executable file to facilitate better cache mapping
tirdwr IRIX Transport Interface read/write interface STREAMS module
diag2 HP-UX interface for diagnostic logging and interface to processors
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service