Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiling a Multithreaded program #10

Open
singam-sanjay opened this issue Jun 7, 2024 · 2 comments
Open

Profiling a Multithreaded program #10

singam-sanjay opened this issue Jun 7, 2024 · 2 comments

Comments

@singam-sanjay
Copy link

Thanks for making this very useful tool open-source!

Can PerfEvent be used in a multithreaded scenario, specifically OpenMP, to,

  1. Measure events across all threads?
  2. Measure events of individual threads?

Thanks in advance for your answer.

@viktorleis
Copy link
Owner

  1. All threads that have been started after the PerfEvent object has been created are measured.
  2. I'm sure that is possible as well, but would require some changes to the code.

@satanu01
Copy link

@viktorleis, have you tried anything? If you have, then please share some… It will help a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants