<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84585#c58">Comment # 58</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84585">bug 84585</a>
from <span class="vcard"><a class="email" href="mailto:alessandroferri_015@fastwebnet.it" title="Alessandro Ferri <alessandroferri_015@fastwebnet.it>"> <span class="fn">Alessandro Ferri</span></a>
</span></b>
<pre>I have also attached the code of the program:
pcm_avail-time-test.c created by Alessandro Ferri on 2014-10-13 15:07 UTC
<a href="https://bugs.freedesktop.org/attachment.cgi?id=107782">https://bugs.freedesktop.org/attachment.cgi?id=107782</a>
you can look at the code and see where is the bug? I can get other prints to
verify the code.
(In reply to Raymond from <a href="show_bug.cgi?id=84585#c57">comment #57</a>)
<span class="quote">> seem your program have bugs
>
> 1) no clock time
> 2) elapsed time between two successive result seem not correct
>
>
>
> now_us - last_us=196 now_us - start_us=288 0 Available: 48 loop
> iteration: 1
> now_us - last_us=120 now_us - start_us=408 0 Available: 56 loop
> iteration: 2
> now_us - last_us=114 now_us - start_us=522 0 Available: 64 loop
> iteration: 3
> now_us - last_us=18 now_us - start_us=653 0 Available: 72 loop
> iteration: 5
> now_us - last_us=11 now_us - start_us=799 0 Available: 80 loop
> iteration: 9
> now_us - last_us=13 now_us - start_us=974 0 Available: 88 loop
> iteration: 15
> now_us - last_us=14 now_us - start_us=1135 0 Available: 96 loop
> iteration: 20</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>