- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have linux.
when I run pcm.x "sleep 1" it gives me hardware counters per core. I want the hardware counters per process.
Is possible to monitor hardware counters per process using pcm?
Thanks,
Chandrashekhar Garkar.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Chandrashekhar,
Sorry, you can't use PCM to get the hardware counters per process.
You can get per process counters with VTune or maybe (probably) with linux perf.
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Pat,
Thanks for a quick reply.
I am facing some issues with perf so I wanted an alternative to perf.
Is VTune opensource??
--Chandrashekhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, VTune is not openSource.
But you can try it for free at http://software.intel.com/en-us/intel-vtune-amplifier-xe
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Pat,
Can I get counters for one core at a time, as I have multicore system.
Using PCM I mean to say.
--chandrashekhar garkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Pat,
Can I get counters for one core at a time, as I have multicore system.
Using PCM I mean to say.
--chandrashekhar garkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Better option is to use VTune to perform code analysis.Some counters have the granularity of single hardware thread (i.e logical cpu).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are having issues with perf, you can try the PAPI which will work fine for the the multi-core per process analysis, or look into Valgrind.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Chandrashekhar G. wrote:
Thanks Pat,
Can I get counters for one core at a time, as I have multicore system.
Using PCM I mean to say.
--chandrashekhar garkar
I'm not exactly sure what you mean. Using PCM you can get stats for each core. But not for just 1 core at a time (unless you boot to single core).
Pat
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page