One convenience function is provided that will start the Performance Validator GUI (if it is not already running), then load the Performance Validator performance profiler into your process and start profiling it.
extern "C"
void loadValidatorIntoApplication();
To use this function #include loadValidatorIntoApplication.h into your code.
The source files can be found in the API directory in the Performance Validator install directory.
Just add these files to your project and build.