PAPI to monitor a C program

Open discussion of PAPI.

PAPI to monitor a C program

Postby solsys12 » Wed Feb 12, 2014 5:20 am

I wrote a C program (lets say A) and used the papi_attach() to attach the counters to an already C code( say B).
Now the program B can be anything ranging from a simple multiplication program to a multithreaded programs to write in files. The program A correctly measures for single threaded program B, but shows incorrect result for parallel write program.
The question is, can program A be used to monitor an already running program B which can use fork() or multiple threads, correctly???
Posts: 5
Joined: Wed Feb 12, 2014 5:00 am

Re: PAPI to monitor a C program

Postby MrDalek » Thu May 28, 2015 9:06 pm

Where you ever able to get this to work?
Posts: 3
Joined: Thu May 28, 2015 9:03 pm

Return to General discussion (read-only)

Who is online

Users browsing this forum: No registered users and 0 guests