[patch] Profiling configuration change

Don McCoy don at codesourcery.com
Sun Sep 3 00:48:39 UTC 2006


This patch changes the way users will compile their programs when using 
profiling.  Before, configuration options were needed.  Now user 
programs will be compiled with a macro that serves the same purpose.

Use -DVSIP_IMPL_PROFILER=15 to enable profiling of all operations.  The 
value 15 (0x0F) is a mask composed of bits now defined in 
impl/profile.hpp.  Each bit corresponds to a set of operations as before.

It is not necessary to define anything when building the library (other 
than a timer), so both the debug and release binary builds will be 
suitable for use with profiling.

Regards,

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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pe.changes
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20060902/2e4491c4/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pe.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20060902/2e4491c4/attachment-0001.ksh>


More information about the vsipl++ mailing list