Feature-Specific Profiling Support

Updated version of the feature-specific profiling support you wrote, to reflect the new API of the FSP's plug-in library.

This currently profiles unconditionally, which is not the best interface. I don't know what would be the preferred option. A command-line flag, maybe? A parameter? I'll leave the decision up to you.