[patch] Script to post process profiler output

Jules Bergmann jules at codesourcery.com
Wed Nov 1 19:53:19 UTC 2006


This patch adds a fmt-profile.pl script to post-processes profiler 
output files.

It has two modes.  If run with no options and the name of a profile dump:

	fmt-profile.pl profile.txt

it will align all the columns (the input file is overwritten).


If run with the "-sec" option:

	fmt-profile.pl -sec profile.txt

it will convert the ticks into seconds.

An example output file from using the "-sec" option is attached.

This has only been tested with "accumulate" profiling output.

Patch applied.

				-- jules


-- 
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fp.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20061101/2704e52b/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1.txt
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20061101/2704e52b/attachment.txt>


More information about the vsipl++ mailing list