-
Notifications
You must be signed in to change notification settings - Fork 9
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
#2380: Add task measurements using linux perf #2381
base: develop
Are you sure you want to change the base?
Conversation
Pipelines resultsPR tests (clang-13, alpine, mpich) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (gcc-10, ubuntu, openmpi, no LB) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (clang-9, ubuntu, mpich) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (gcc-9, ubuntu, mpich, zoltan) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (clang-12, ubuntu, mpich) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (clang-13, ubuntu, mpich) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (clang-14, ubuntu, mpich, verbose) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (clang-11, ubuntu, mpich) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (clang-10, ubuntu, mpich) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (gcc-11, ubuntu, mpich, trace runtime, coverage) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (intel icpx, ubuntu, mpich, verbose) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (nvidia cuda 12.2.0, gcc-9, ubuntu, mpich, verbose) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (gcc-12, ubuntu, mpich, verbose, kokkos) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (nvidia cuda 11.2, gcc-9, ubuntu, mpich) Build for b533dda (2024-12-13 13:01:57 UTC)
PR tests (intel icpc, ubuntu, mpich) Build for b533dda (2024-12-13 13:01:57 UTC)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. A few minor improvements requested
} | ||
} | ||
|
||
for (const auto &event_name : event_names_) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for (const auto &event_name : event_names_) { | |
for (auto const& event_name : event_names_) { |
} | ||
|
||
// Initialize perf events once and store file descriptors | ||
for (const auto &event_name : event_names_) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for (const auto &event_name : event_names_) { | |
for (auto const& event_name : event_names_) { |
* Cleans up resources, closing file descriptors associated with performance | ||
* counters. | ||
*/ | ||
~PerfData(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a virtual destructor here.
Fixes #2380.
This contains the work done in #2304 with only the Linux Perf component.