Questions tagged [papi]

PAPI (Performance Application Programming Interface) provides the tool designer and application engineer with a consistent interface and methodology for use of the performance counter hardware found in most major microprocessors. PAPI enables software engineers to see, in near real time, the relation between software performance and processor events.

86 questions
0
votes
0 answers

Execution freezes upon calling PAPI_start_counters

I am facing a strange issue such that program freezes upon calling PAPI_start_counters function. For example, when I am using code from here and after compiling as "gcc -o papitest high_level.c -lpapi" and running ./papitest I am getting…
dbilid
  • 279
  • 2
  • 10
0
votes
1 answer

Why do I need to run an application as a root for the PAPI library to work?

I just upgraded to Ubuntu 16.04 LTS. In my C++ applications I use the PAPI library, so I installed it from http://icl.utk.edu/papi/. However for some reason I can not run my applications anymore without having to type sudo in the beginning. Even…
jsguy
  • 2,069
  • 1
  • 25
  • 36
0
votes
1 answer

How to use PAPI with C++11 std:thread?

I would like to use PAPI to get the overall counters of all C++11 std::thread threads in a program. PAPI documentation on Threads says that: Thread support in the PAPI library can be initialized by calling the following low-level function in C:…
Nicola
  • 395
  • 2
  • 13
0
votes
1 answer

Getting retval, cleanup, destroy failed using Papi

I am trying to test out using papi, but I am getting some errors that I don't understand why they're occurring. I couldn't find anything online for them. The code is below I am using PAPI and C. #include #include #include…
user4352158
  • 731
  • 4
  • 13
  • 24
0
votes
1 answer

PAPI for MIC installed, components correctly discovered, but PAPI_add_event fails

I compiled and installed the latest PAPI 5.4.0.0 for MIC. My configure options are: CC=icc CXX=icpc ./configure --with-mic --host=x86_64-k1om-linux --with-arch=k1om --with-ffsll --with-walltimer=cycle --with-tls=__thread…
thierry
  • 217
  • 2
  • 12
0
votes
2 answers

How can I get page faults statistics from kernel

How can I get page faults statistics from kernel for my application while it is running? What about other events, like inter-cpu migrations count in SMP nodes, or number of context switches? I want to count such events for various small parts of the…
osgx
  • 90,338
  • 53
  • 357
  • 513
0
votes
1 answer

Call PAPI_start() and PAPI_stop() in different functions?

Usally PAPI is used like this: Initialize Lib Add Event(s) PAPI_start() someCalculation() PAPI_stop() However, I have an application which times code like this: start = time() someCalculation() t = time() - start; I want to override this time()…
pianoslum
  • 327
  • 3
  • 9
0
votes
1 answer

using PAPI for reading Performance monitoring counters in Intel Core i7

I want to read performance monitoring couters in Core i7 The out put for each event just contains 1 data and has no information about the core this data is for. How can I read the events counts for each core separately by PAPI? THANK YOU SO MUCH
0
votes
1 answer

Use perfsuite for all core

I am trying to use perfsuite (which internally uses papi) to measure some performance counter around a function. This function spawns one thread per core. The problem is, if I start the counters before the function call and stop them after the call,…
Rakib
  • 791
  • 8
  • 19
0
votes
1 answer

PAPI (performance application programming) not working properly?

I downloaded version 4.4 off the site, built it in my own directory and tried writing a small main which kept giving me that num_counters was zero. I then looked at ctests and picked hwinfo.c, and ripped out some of the code from it (and testlib)…
Palace Chan
  • 8,845
  • 11
  • 41
  • 93
0
votes
1 answer

I need example of code that usins PAPI to copy Page with links from MCSC 2002 to Umbraco

I need example in .NET that using PAPI to copy Page with links from MCSC 2002 to Umbraco CMS using Umbraco object model. Another user of this site already done it (Andy Rose - https://stackoverflow.com/a/3678533). But I do not know how to contact…
1 2 3 4 5
6