IOI2CSendRequest performance
IOI2CSendRequest performance
- Subject: IOI2CSendRequest performance
- From: Jeff Schindler <email@hidden>
- Date: Fri, 17 Jun 2011 16:21:25 -0400
Hello,
I'm not sure of the appropriate list to post this - I tried Carbon-dev, but got no replies. Any info would be much appreciated.
We're using IOI2CSendRequest to periodically poll the state of a VCP table code on a monitor (we're doing this from a HAL plugin that runs inside of iTunes) and are seeing strange performance issues. We're opening/closing the I2C interface each time we poll (which is currently once per second) and eventually will see this polling affect the mouse cursor performance, specifically that its tracking drops out with each call to IOI2CSendRequest so that you get a jumping of the cursor as you move the mouse. This does not happen immediately after the polling starts, but maybe 30 seconds or so afterwards. I tried commenting out the call to IOI2CSendRequest, but leaving in the opening/closing of the I2C interface, but that did not repro the problem, so it's something specific with the call to IOI2CSendRequest. Would it help at all to retain that I2C interface and not open/close it each time? Any ideas why that would be affecting performance like it does?
UPDATE: I tried retaining the I2C interface connection, but that did not help, so it's something specific with the IOI2CSendRequest call.
Thanks,
Jeff _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden