I'm trying to measure the execution time of a C program I wrote. However, I want to see a detailed output of different times, percent of CPU use, etc. I try
time -v ./a.out
But I get an error that states the command -v
was not found. However, I have checked the man pages for time
and -v or --verbose
is an option.
What's wrong?
valgrind
also could be interesting for you. Here is example of usage: https://askubuntu.com/a/960644/566421 – pa4080 Mar 27 '18 at 17:50