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.

enter image description here

added

i tried /exclude:std::*, , way many functions including std:: functions. enter image description here

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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -