From: kuas Subject: ac_timer accuracy Date: Sat, 22 Jan 2005 14:45:50 -0500 Message-ID: Reply-To: ku4s@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Message-ID: <41F2AD6E.5010300@users.sourceforge.net> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Hello, I am trying to schedule some task within Xen. I am trying to find out the smallest period that can be scheduled using ac_timer. I haven't been able to understand it. I believe the timing are done in ns. The smallest period that I can see the timer expired is around 1400 ns. But I have never been able to actually schedule it to expired that short. There is a variable TIMER_SLOP which is in 50000 ns. Is this the smallest timer value that can be set in the timer? I wonder if any other Xen developer has ever tried using this and know the behavior. Is there any other way I can get a small and accurate timer in Xen environment? Thanks in advance. kuas ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl