On Thu, Jan 30, 2014 at 5:43 PM, Nikos Balkanas nikos.balkanas@eyeonix.com wrote:
On Thu, Jan 30, 2014 at 6:13 PM, Alexandru Csete oz9aec@gmail.com wrote:
In a terminal you type:
time rtl_fm
with the rtl_fm parameters you want to use. When you stop the program it will print out how much real time has passed and how much time was used by the application. See "man time" for options.
Not the best way, unless you print #of packets processed and cpu is limiting. A better choice would be gprof (Linux).
The time command prints how much time was required by the application. If you divide that with the elapsed time you have the CPU load of the application. The number of packets is irrelevant and the cpu must not be limiting; if it is the application will not run in real time and the measurement will be incorrect.
Alex