I just wonder if there is an API to do a "framecapture" in the code.
Do some directX call...
So I can analyse just a part of the frame.
I think I understand you now :-) I think what you are looking for can be found here:
Intel® Metrics Framework - https://software.intel.com/en-us/node/659423
Intel® Platform Analysis Library - https://software.intel.com/en-us/intel-platform-analysis-library
Also, when GPA is installed, 'capture.exe' will be located in the install location. This exe can also be used to capture a frame from the command line.