From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17525 invoked by alias); 24 Nov 2004 14:23:14 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 17300 invoked from network); 24 Nov 2004 14:22:42 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org with SMTP; 24 Nov 2004 14:22:42 -0000 Received: (qmail 5109 invoked from network); 24 Nov 2004 14:22:40 -0000 Received: from localhost (HELO ?192.168.189.167?) (nathan@127.0.0.1) by mail.codesourcery.com with SMTP; 24 Nov 2004 14:22:40 -0000 Message-ID: <41A4990D.30506@codesourcery.com> Date: Wed, 24 Nov 2004 15:35:00 -0000 From: Nathan Sidwell Organization: Codesourcery LLC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 MIME-Version: 1.0 To: Ankit Jain CC: gcc , gcc@gcc.gnu.org Subject: Re: Accuracy of clock References: <20041124070826.62054.qmail@web52904.mail.yahoo.com> In-Reply-To: <20041124070826.62054.qmail@web52904.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00896.txt.bz2 Ankit Jain wrote: > I want to confirm if the clock like gettimeofday or > clock_gettime has any bugs and if then how much > inaccurate are these clock. i want to know the time > taken by my program in microseconds there is at least one bug in the set of all 'gettimeofday' functions that have ever existed :) * you are in the wrong place, ask somewhere relevent to your system * you do not specify your system, so you'll need to determine that nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk