Setting granularity level

Open discussion of PAPI.

Setting granularity level

Postby solsys12 » Wed Feb 12, 2014 6:12 am

I was trying to set the granularity level to per process instead of per thread by
int retval = PAPI_set_granularity(2); and
even tried
retval = PAPI_set_cmp_granularity(PAPI_GRN_PROC,0);

can anyone please point out the error and if possible correct the function call.
Posts: 5
Joined: Wed Feb 12, 2014 5:00 am

Re: Setting granularity level

Postby Armagetron » Fri Mar 28, 2014 7:39 am

The documentation for PAPI_get_opt says that the granularity functions are not yet implemented. What you can try is to monitor each thread inside your application manually.
Posts: 3
Joined: Wed Mar 26, 2014 9:48 am
Location: Germany

Return to General discussion (read-only)

Who is online

Users browsing this forum: No registered users and 0 guests