This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: High resolution clock


On 26 Jul 97 at 10:49, Vladimir belkin wrote:

> At 21:22 25.07.97 -0400, Joerg Lepler <joerg@std.saic.com> wrote:
> >
> > As I have to deal with latencies of 2-3
> >milliseconds, I need a clock with a resolution of at least one
> >millisecond. 

 If the functions used for performance monitoring. 

 RegConnectRegistry
 RegQueryValueEx
 QueryPerformanceCounter
 QueryPerformanceFrequency 

doesn't work (because of your hardware) try

  "... GetTickCount function retrieves the number of milliseconds 
that have elapsed since Windows was started. 

   DWORD GetTickCount(VOID)

"

  Best regards,
                        VAlery

=================================================================
Dr. Valery Fine                  Telex : 911621 dubna su
    -----------
LCTA/Joint Inst.for NuclearRes   Phone : +7 09621 6 40 80
141980 Dubna, Moscow region      Fax   : +7 09621 6 51 45
Russia                           mailto:fine@main1.jinr.dubna.su                              

Dr. Valeri Faine
    ------------                 Phone: +41 22 767 6468
CERN                             FAX  : +41 22 767 7910
CH-1211 Geneva, 23               mailto:fine@mail.cern.ch 
Switzerland                      http://nicewww.cern.ch/~fine
                                 
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]