I wish to know the amount of time taken for execution of a program under linux in microseconds (or better accuracy). Currently I am using the time
command, but it gives me at the max milliseconds accuracy. Is there some way to tweak the time
command to give better accuracy or is there some other command for the same?
Your question is meaningless: you will not get repeated measurements even within milliseconds time does report.
Adding more digits will just add noise. You might as well pull the extra digits from /dev/random
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With