Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow HID



Hi Neil,

On Dec 26, 2003, at 2:03 AM, Neil Alexander wrote:

While observing the mouse - using a pen in Appleworks, for example - there is a visible pause that occurs approximately every second. It looks like it's "jerky" at one second intervals. Almost like it's being put on hold. In between those pauses, the mouse is very smooth.

Again, the code is based on the standard HID example code.

The program is written as a tool, does this have any effect?

No.

Is there any way to prioritize this? Or do I need to spawn a thread with the appropriate priority? I'm relatively new to OSX, so I hope my questions aren't too elementary.

Tweaking thread priorities is not desirable with very few exceptions, such as dealing with audio devices where latency can cause audible glitches.


I highly recommend tracking down the cause of the one-second pauses. There are a number of performance tools included with the Mac OS X developer tools, and the documentation is fairly good:

<http://developer.apple.com/documentation/Performance/Performance.html>.

Once you know what is blocking you, you can devise the proper solution.

HTH,
--gc
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.