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

Switch group example (Marker API) #30

Open
carstenbauer opened this issue May 6, 2022 · 1 comment
Open

Switch group example (Marker API) #30

carstenbauer opened this issue May 6, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@carstenbauer
Copy link
Member

As far as I can see, there is no group switch in the example code at https://juliaperf.github.io/LIKWID.jl/dev/examples/perfmon/, that's why only the first group gets measured (| is the group delimiter). You would need to run your benchmark code twice, once for the first group, then "switch groups" and run your benchmark again for the second group measurement.
The two groups have different gids, so when reading the results/metrics, you have to specify the right gid.

Originally posted by @TomTheBear in #28 (comment)

@carstenbauer carstenbauer added the documentation Improvements or additions to documentation label Jun 15, 2022
@carstenbauer carstenbauer changed the title Switch group example Switch group example (Marker API) Jun 15, 2022
@carstenbauer
Copy link
Member Author

Note that one can also already measure different groups with @perfmon / perfmon, i.e. without using the Marker API.

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

No branches or pull requests

1 participant