Hi, On Tue, Jun 30, 2015 at 03:44:21PM +0200, Bartosz Golaszewski wrote: > We worked together with Daniel on some improvements of ACME's > performance. Daniel authored two nice patches: one that makes use of > sysfs attribute's seekability to avoid doing an open/close on each > measurement and one that uses timerfd to make libsigrok's polling API > happy. > > We still had some issues with data acquisition speed though, so I > decided to add a workaround for that in the last patch.
Merged, thanks! + tspec.it_interval.tv_nsec = (1000000000L / devc->samplerate); You could use SR_HZ_TO_NS() here, I think (not strictly needed, but it might be it a bit clearer). Uwe. -- http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel