Intel® Fortran Compiler XE 13.1 User and Reference Guides
The _PGOPTI_Prof_Reset_All() function clears the profile information collected by the instrumented application. The prototype of the function call is listed below.
|
Syntax |
|---|
|
void _PGOPTI_Prof_Reset_All(void); |
The older version of this function, _PGOPTI_Prof_Reset(), is deprecated.
The new function, _PGOPTI_Prof_Reset_All(), operates much like the deprecated one, _PGOPTI_Prof_Reset(), except on Linux* operating systems, when it is used in connection with shared libraries (.so) and _exit()function to terminate a program.
When _PGOPTI_Prof_Reset_All() function is called, it insures that all the counters within the main application and all the instrumented shared libraries are cleared. All the counters for block execution counts and value profiling information is reset to 0.
For routines that were in progress when the reset call was made, the counts for portions of the routine that executed following the call to the reset function may have higher counts than portions of the routine that executed prior to the reset call.