API for system-wide IPC profiling
Hi,
I would like to collect system-wide IPC. (The aggregate IPC across all CPUs).
But the provided high-level API does not seem to have this feature.
The functionality would be similar to perf "-a" options.
Since I need to read the counters within my code, I am trying to use PAPI to do that.
PAPI_set_granularity seems to be relevant. But I cannot find any examples.
Could anyone provide me some pointers?
Thanks!
I would like to collect system-wide IPC. (The aggregate IPC across all CPUs).
But the provided high-level API does not seem to have this feature.
The functionality would be similar to perf "-a" options.
Since I need to read the counters within my code, I am trying to use PAPI to do that.
PAPI_set_granularity seems to be relevant. But I cannot find any examples.
Could anyone provide me some pointers?
Thanks!