Profiling

Hey

I’m still coding my first VSTi. It works but it’s very slow (25% of CPU usage!).
I’m using Visual Studio Express 2008 and I’m wondering if you know how to profile the code to know where it’s taking so much time.

Thanks for your suggestions

geoffroy

AMD’s free profiler (the name eludes me at the moment) is good.

You can also try to comment out parts of the signal chain to see if it’s a specific part that is chewing up the cycles.

Or look at the assembly output to see if some part generates suspicious amounts of ASM instructions.

And remember to make non-debug compiles for performance related stuff.

Hey thanks!
I didn’t know that AMD profiler.
The URL is :
http://developer.amd.com/cpu/CodeAnalyst/codeanalystwindows/Pages/default.aspx

I will try it this week.

Thanks again