Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
DomainKey-Signature: a=rsa-sha1; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=THoRrsitVfZ0Tc7t4e/UFdrk9NrBzwTW6yERM0D4HGz+PrcPUCH9VrW/JDvdK9BpJ+l2Du+0J6zUidm1M96uqY4xtZ2GEzCTS2OzvgK7LGLAZiDEcPl0w7RUVS7QnzHlgL1Z4+R6OHuiyTuF/azBcBiMfro0XxdugEvqer1PVBo
Message-ID: <fdb072ec041020060166ef9955@mail.gmail.com>
Date: Wed, 20 Oct 2004 09:01:12 -0400
From: Robert Pendell <shinji257@gmail.com>
Reply-To: Robert Pendell <shinji257@gmail.com>
To: cygwin@cygwin.com
Subject: Re: High resolution process timing
In-Reply-To: <20041020111237.79849.qmail@web54304.mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <20041020111237.79849.qmail@web54304.mail.yahoo.com>
X-IsSubscribed: yes

Search google for "windows high resolution timer" (no quotes) and that
will probably give some answers.


On Wed, 20 Oct 2004 12:12:37 +0100 (BST), Lionel B
<lionelbuk@yahoo.co.uk> wrote:
> Greetings,
> 
> Is it possible in Cygwin (W2k, Pentium 4, gcc 3.3.3) to access a higher
> resolution (or perhaps I mean "granularity") process CPU timer than the libc
> clock() call? I am finding clock() inadequate for some code benchmarking.
> 
> [It is not clear to me whether this is indeed a Cygwin issue, or rather a
> Windows issue and therefore OT here - apologies if so].
> 
> Having browsed the archives, it seems that it may well be possible to access
> high-resolution *system* timers (perhaps using NT API calls to
> QueryPerformanceCounter() & family), but I can see no way to achieve
> per-process timing this way.
> 
> Any pointers appreciated,
> 
> --
> Lionel B
> 
> ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


-- 
Robert Pendell
shinji257@gmail.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

