IOI2CSendRequest performance
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:content-type:content-transfer-encoding :subject:date:message-id:to:mime-version:x-mailer; bh=q8/vChvn+y5mnSxNchBc3oiKX3QRYVMVfAa/f3ycxHo=; b=JwEO+8Wa3+/jVlTxODnhBZOdBXmmUFeTW91O0vj+aK5gJ0rmMdiNsEMlPA6jLBKuDY NxWIRF89o8vtCGLfGCQJWreo4mlREHlRtRZPvM+HxcNkPsJRQUYp38m8T2IBV0QCljFn KODRZBR1SrCNuOEG0tbxL3VJ4Za7R6qfk3e1M= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=pKujNO0HPFyedobkpDuTZn7WyCiy5ahAnELJxC9fPeU6XnPuJtEKcrlRPuaBpwsmls ypNmHDOtrNxmh8p/veFEE7FAzhPZeb4NoYn01Ae4KeRSVAQc24O8JPL3/kFyV1MK4j0P JNfOdoavRZY7zbYYqSD+nQGETH3hGBKulRNNI= 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jeff Schindler