SmileeTiger
Programmer
How do I run gprof such that I can pass command line paramaters to my binary.
ie. I want to run a.out -f file.txt -n 100
I tried gprof a.out -f file.txt -n 100 gmon.out > profile.txt
But it didn't work! This HAS to be pretty simple.
ie. I want to run a.out -f file.txt -n 100
I tried gprof a.out -f file.txt -n 100 gmon.out > profile.txt
But it didn't work! This HAS to be pretty simple.