c++ - Profiling only the namespaces that I need with VS2010 -
vsinstr.exe has option include namespaces needs profile.
with option, vsp file.
cl /zi helloclass.cpp /link /profile vsinstr helloclass.exe /include:fpga::* vsperfcmd /start:trace /output:trace.vsp helloclass vsperfcmd /shutdown however, still contains std:: namespaces.

added
i tried /exclude:std::*, , way many functions including std:: functions. 
what might wrong?
according http://msdn.microsoft.com/en-us/library/ms182402%28v=vs.80%29.aspx
/include doesn't accept wildcards, try using /exclude:std::*
edit: try adding /exclude:::__* or /exclude:__* rid of global namespace functions starting __. haven't tested this, , documentation isn't clear, worth try.
Comments
Post a Comment