- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all
Is perf safe to use for profiling CilkPlus applications? I've tried using cilkprof to no avail... something to do with PIN that I've never been able to make it work.
Thanks.
Leo
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I don't know that tool.
- Barry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, let me pose the question another way. What would be the best way to profile cache misses with CilkPlus?
Here's a link to Linux perf, just in case: https://perf.wiki.kernel.org/index.php/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"best way" is likely whatever you are famiilar with. Any performance event profiling tool which works with C99 or C++ gcc or icc should be suitable, if it's not tied to an incompatible threading model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have used perf a few times to collect some simple aggregate statistics for Cilk Plus programs. I believe the Cilk Plus runtime should look like just another shared library to perf, and it should mostly "just work" like profiling any other pthreaded program. But I don't have much experience using perf myself, so it is possible there are more subtle problems that I'm not aware of?
Cheers,
Jim

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page