f_hpmtstart(instid, label) hpmTstart(instid, label)
instid identifies the counter and has to be larger than
0. The default for its maximum value is 100, which can be changed
with the environment variable HPM_NUM_INST_PTS. If
instid is set to the same value for all threads, the results
will contain the sum of the counters for all threads. If they are
set differently for each thread, you will get separate results for
each thread. Different values of instid for each thread can
be achieved with the OpenMP enquiry function
OMP_GET_THREAD_NUM(). See
here for an example code.
label is a string which is passed to the output
files. It helps to match the results to the instrumented sections
they originate from.