Last post Mar 25, 2013 03:12 AM by Angie xu - MSFT
Mar 20, 2013 09:42 AM|varunpals|LINK
I am trying to use /EXCLUDESMALLFUNCS option of vsinstr. As per the msdn article it sould exclude my small funcs like getter and setter properties from my coverage report, but its not happening.
Every getter setter property is included.
Sample of my syntax:
#vsinstr /EXCLUDESMALLFUNCS "MYDLL"
Any help will be much appreciated.
Mar 25, 2013 03:12 AM|Angie xu - MSFT|LINK
exclude my small funcs like getter and setter properties from my coverage report,
In Visual Studio 2008, add a feature to exclude small functions from instrumentation. A small function is a function that has very few instructions and makes no function calls (i.e. it’s a leaf). The idea behind this feature is that small functions are
unlikely to be significant in the overall profile of your application, so we can skip collecting data for them altogether to avoid the overhead of otherwise doing so. This feature is meant to exclude property getters and setters, but it will also exclude
very simple functions that are typically inlined anyway.
You could learn detailed information further about excluding small functions from instrumentation below,
Excluding Small Functions From Instrumentation
hope it helps you,