Intel(R) Advisor XE 2013 Update 4 has a very valuable feature to help reduce time it takes to run analyses.
Intel(R) Advisor XE 2013 Survey, Suitability and Correctness analyses can be expedited by skipping analysis during uninteresting portions of application execution like program initialization. Judicious use of the approaches described below can reduce the time spent in obtaining useful analysis information using the Intel(R) Advisor XE tool.
There are several ways to do this:
1) Start the analysis in a paused collection state
CLI: Use the "-start-paused" option as shown below Check the topic "start-paused" in Intel(R) Advisor XE documentation for more information.
$ advixe-cl -collect suitability -start-paused -- C:\test\sample.exe
GUI: Use the “Start Paused” when starting the analysis or “Pause” button during the analysis as shown below:
2) Use Pause Collection and Resume Collection annotations. See "Pause Collection and Resume Collection Annotations" in Intel(R) Advisor XE documentation for more information. Execute pairs of Pause Collection and Resume Collection annotations to collect data about the interesting part(s) of the target program. Place Pause Collection and Resume Collection annotations outside the parallel site begin and parallel site end annotations. Use the Pause collection annotation using the syntax shown below:
Syntax:
C/C++: | ANNOTATE_DISABLE_COLLECTION_PUSH; |
Fortran: | call annotate_disable_collection_push() |
C#: | Annotate.DisableCollectionPush(); |
3) Pause collection for a specified duration after which analysis resumes automatically.
CLI: Use the “-resume-after <value>” option. Check "resume-after" topic in Intel(R) Advisor XE documentation for more information.
$ advixe-cl -collect suitability -resume-after 50 -- C:\test\sample.exe
GUI: This can be accomplished by setting the “Resume Collection after” setting in “Project Properties” as shown below:
There are three corresponding ways to resume analysis collection:
1) Click the Resume button. Details shown below:
2) Use Resume collection annotation using the syntax shown below:
Syntax:
C/C++: | ANNOTATE_DISABLE_COLLECTION_POP; |
Fortran: | call annotate_disable_collection_pop() |
C#: | Annotate.DisableCollectionPop(); |
3) When pausing collection for a specified duration, collection resumes automatically once the duration expires. The user does not need to do anything further to resume collection.
Webliography:To learn more about related topics, check out the articles below in Intel(R) Advisor XE documentation for more information: