void _PGOPTI_Prof_Dump(void);
This function dumps the profile information collected by the instrumented application. The profile information is recorded in a .dyn file.
Insert a single call to this function in the body of the function which terminates your application. Normally, _PGOPTI_Prof_Dump should be called just once. It is also possible to use this function in conjunction with _PGOPTI_Prof_Reset() to generate multiple .dyn files (presumably from multiple sets of input data).
/* selectively collect profile information for the
portion
of the application involved in processing input data
*/
input_data = get_input_data();
while (input_data) {
_PGOPTI_Prof_Reset();
process_data(input_data);
_PGOPTI_Prof_Dump();
input_data = get_input_data();
}