[patch] fix for profiling long processes

Don McCoy don at codesourcery.com
Thu Oct 25 19:02:00 UTC 2007


When profiling over a long period of time, the raw timestamps observed
in the profiler output have the potential to be truncated, leading to
inaccurate results.

The error is only in how the profiler output is managed, not in the
profile timer itself, which handles rollovers in the time source
correctly.  The profiler output function was affected because it uses
the 'ticks()' profile timer function to obtain the raw timestamps to
place in the log, which were being truncated to 32-bits.

Ok to apply?

-- 
Don McCoy
don (at) CodeSourcery
(888) 776-0262 / (650) 331-3385, x712

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pt.changes
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20071025/9dedb4e9/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pt.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20071025/9dedb4e9/attachment-0001.ksh>


More information about the vsipl++ mailing list