Re: Problem when USB hub is inserted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/13/2010 06:32 PM, Alan Stern wrote:

The number of times the larger loop executes depends on how often a
periodic URB completes.  That might be hundreds of iterations, but if
it is then most of the iterations should be very fast.  For example, if
there's an isochronous URB with 10 packets and a period of 64 uframes,
then the loop would execute 640 times but only 10 of those iterations
would do any work.  This shouldn't take 2 milliseconds.

Ok but I only had a mouse connected here...

Can you find out how much work is done on each loop iteration?  For
example, how many times does the "while (q.ptr != NULL) {" inner loop

I will experiment with the code.



Thanks!
Alessio


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux