HPM_OUTPUT_NAME changes the names of
the output file *.hpm and the visualisation file
*.viz. It overwrites what you specified in
the second argument of the
hpmInit call. This can be used to specify the
selected event set in the name of the output files.
export HPM_EVENT_SET=56
export HPM_OUTPUT_NAME=hpm_output_set${HPM_EVENT_SET}
The above syntax is for ksh. Please modify for your favorite
shell. For a three
processor run this will generate the following output files
hpm_output_set56_0000.hpm hpm_output_set56_0000.viz hpm_output_set56_0001.hpm hpm_output_set56_0001.viz hpm_output_set56_0002.hpm hpm_output_set56_0002.vizThe 4-digit number is derived from the
taskid of the
instrumentation routine
hpmTerminate.