I have been trying to use Intel PCM in Linux for quite a few days
When I run pcm.x the usage is posted out as:
Intel(r) Performance Counter Monitor V2.6 (2013-11-04 13:43:31 +0100 ID=db05e43)
Copyright (c) 2009-2013 Intel Corporation
Usage: pcm <delay>|"external_program parameters"|--help <other options>
-nc or --nocores or /nc => hides core related output
-ns or --nosockets or /ns => hides socket related output
-nsys or --nosystem or /nsys => hides system related output
-csv or /csv => print compact csv format
Example: pcm.x 1 -nc -ns
I'm trying to measure the counters values before and after my program run, but I', having difficulty with the syntax to run a program with arguments.
For example I can run ./pcm.x myprog. But I cannot run the program "myprog" with arguments, both ./pcm.x myprog arg1 arg2 and ./pcm.x 1|myprog arg1 arg2| don't seem to work
And I found no manual for the tool. Can anyone give the correct syntaxes with some examples?