<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 6:13 PM, Alexandru Csete <span dir="ltr"><<a href="mailto:oz9aec@gmail.com" target="_blank">oz9aec@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, Jan 30, 2014 at 4:51 PM, Sdr Guru <<a href="mailto:sdrguru1@gmail.com">sdrguru1@gmail.com</a>> wrote:<br>

> On Thu, Jan 30, 2014 at 5:23 PM, Alexandru Csete <<a href="mailto:oz9aec@gmail.com">oz9aec@gmail.com</a>> wrote:<br>
>><br>
>> On Thu, Jan 30, 2014 at 3:45 PM, Sdr Guru <<a href="mailto:sdrguru1@gmail.com">sdrguru1@gmail.com</a>> wrote:<br>
>> > Hi<br>
>> ><br>
>> > Perhaps you can add a simple performance test to rtl_fm.<br>
>> > "decoding 100000 samples takes xxx ms" or something like that.<br>
>> > It helps to compare different CPU and OS families.<br>
>><br>
>> We can already do simple benchmarking using the "time" command, or<br>
>> more detailed measurements using the "perf" tool that comes with the<br>
>> linux kernel.<br>
><br>
> You can bring us some examples. Or write a guide.<br>
> Especially with "time" command.<br>
<br>
</div></div>In a terminal you type:<br>
<br>
time rtl_fm<br>
<br>
with the rtl_fm parameters you want to use. When you stop the program<br>
it will print out how much real time has passed and how much time was<br>
used by the application. See "man time" for options.<br></blockquote><div><br></div><div>Not the best way, unless you print #of packets processed and cpu is limiting. A better choice would be gprof (Linux).<br>
<br></div><div>Nikos<br></div><div><br><br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Alex<br>
<br>
</blockquote></div><br></div></div>