[pulseaudio-tickets] [Bug 84585] Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 16 01:00:37 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84585

--- Comment #58 from Alessandro Ferri <alessandroferri_015 at fastwebnet.it> ---
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

https://bugs.freedesktop.org/attachment.cgi?id=107782

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 comment #57)
> 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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141016/0429e615/attachment.html>


More information about the pulseaudio-bugs mailing list