ftoc(1) General Commands Manual ftoc(1)NAME
ftoc - interface between prof and cord
SYNOPSIS
ftoc file1...
DESCRIPTION
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 cache-rearranging 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 say-
ing:
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 cord(1), pixie(1), prof(1)ftoc(1)
hi,
i am VERY new to UNIX. just wanted some help on a feedback form that i have hosted on a unix server. the feedback form is in asp and doesnt work on unix. any other language to get it working ?? HELP !!! (3 Replies)
My SUN V210 refuses to fully boot up. We had a power outage (ie. someone tripped the cord) and thereafter the Sun will not come up, and the OS is not starting. The LED on the front is not lit.
Monitor gets no feed, so I plugged in via the management port.
The system comes up to:
Trap 3e. and... (7 Replies)
Hello everyone
I want to use the standard Unix prof/gprof tool for my application but I cannot get through the compilation part. I have add the -xpg option in my makefile as specified in the cc man page but the linker gives me the following error:
***************************************... (3 Replies)
Hi Experts,
I have an IBM P505Q which has developed a fault. As soon as the power cord is connected, the amber light on the PSU flashes and during the post, I get this error 11001B01. Found (limited) details about the error here: Help -
Have tried swapping the PSU out with another server... (1 Reply)
I am a beginner to scripting, please help me in this regard.
How do I create a script that provides a count of distinct values of all the fields in the pipe delimited file ? I have 20 different files with multiple columns in each file. I needed to write a generic script where I give the number... (1 Reply)
hey guys!
i need to read data from a file that are comma separated then reorder them in another file to be generated
for example:
x,y,z
a,b,c
l,m,n
o,p,q
and transform this into:
x,a,l,o
y,b,m,p
z,c,n,q
Will appreciate your fast reply
Regards! (5 Replies)
I have a program which I am trying to improve and I hope you can help me
1 ) My main program took a file and list of words such as
2) Created a matrix of the patter of 2 by 2s of instances where one word was followed by the other word.
3) Save each pattern in a file
So having a list like
1... (2 Replies)
Discussion started by: A-V
2 Replies
8. Post Here to Contact Site Administrators and Moderators
Why do you ask about prof info at homeworks forum..... do you contact to prof and tell him that this student asked for our help?
I asked that because some of them are very strickt and conseder that as cheating (4 Replies)
How hard is it to create some kind of timeout procedure for using to much memory or cpu on a linux/unix server? What would you have to do to do this? (8 Replies)
Hi All ,
I have multiple pipe delimited csv files are present in a directory.I need to find out distinct count on a column on those files and need the total distinct
count on all files.
We can't merge all the files here as file size are huge in millions.I have tried in below way for each... (9 Replies)
Dear Everyone,
Thank you for all the great comments, feedback and patience during our recent modernization efforts at unix.com.
Now, I need to decide where to go next, as we move into the next phase.
Some of the ideas I have are:
Make the UserCP experience and all those non-public... (6 Replies)