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???
solsys12
 
Posts: 5
Joined: Wed Feb 12, 2014 5:00 am

Return to General discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron