When I run the time command in shell time ./myapp
I get an output like the following:
real 0m0.668s
user 0m0.112s
sys 0m0.028s
However,when I run the command \time -f %e ./myapp
I lose precision and I get:
2.01s
Why is the output not with 3 digits of precision as well? If I use the %E command I also lose precision in the same way. How do i change it to have more precision again, but still only have the seconds being outputted?
I based my research in this Linux / Unix Command: time