delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/24/06:58:33

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 24 Mar 2000 13:57:43 +0200
From: Paul Sokolovsky <paul-ml AT is DOT lg DOT ua>
X-Mailer: The Bat! (v1.32) S/N AB51B607
Reply-To: Paul Sokolovsky <paul-ml AT is DOT lg DOT ua>
X-Priority: 3 (Normal)
Message-ID: <14581.000324@is.lg.ua>
To: "Wong, Homer" <Homer DOT Wong AT team DOT telstra DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: We can get down to 30us resolution!
In-reply-To: <5F4D0B436B7FD311B00C0008C724ADA6018C0AB1@ntmsg0009.corpmail.telstra.com.au>
References: <5F4D0B436B7FD311B00C0008C724ADA6018C0AB1 AT ntmsg0009 DOT corpmail DOT telstra DOT com DOT au>
Mime-Version: 1.0

Hello Homer,

Wong, Homer <Homer DOT Wong AT team DOT telstra DOT com> wrote:

WH> Hi

WH> Thanks to Tim,  I have found the solution. On Windows NT and Windows 95 we
WH> can use QueryPerformanceCounter and QueryPerformanceFrequency. Although it
WH> is non-portable, it IS a way of getting better resolution time performance
WH> on a Windows PC.

    For me, QueryPerformanceFrequency() on 95 gives very low
frequency, far from any satisfactory. I want being able to count up to
400MHz on my PII-400 ;-) If that's what you want, you can look at
http://www.is.lg.ua/~paul/devel/perf-count.html . Extra feature that
it's not tied to any some windows and works on any Intel (i586+)
system (tested on win32 & Linux). By the way, is this ontopic?

--
Paul Sokolovsky, IT Specialist
http://www.brainbench.com/transcript.jsp?pid=11135



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019