Ignore:
Timestamp:
Sep 16, 2001, 9:27:25 PM (24 years ago)
Author:
phaller
Message:

Added support for new kernels with better timer granularity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/winmm/os2timer.h

    r3600 r6728  
    1 /* $Id: os2timer.h,v 1.9 2000-05-24 01:56:25 phaller Exp $ */
     1/* $Id: os2timer.h,v 1.10 2001-09-16 19:27:24 phaller Exp $ */
    22
    33#ifndef __OS2TIMER_H__
     
    2323 ****************************************************************************/
    2424
    25 #define OS2TIMER_RESOLUTION_MINIMUM 32
     25 /* 2001-09-16 PH
     26  with the new OS2KRNL's dating 2001-09-14 and later, there is
     27  a special CLOCKSCALE feature added which allows for much finer
     28  granularity of the OS/2 system timers up to a maximum resolution
     29  of 2ms. This is supposed to be enough for most timing issues here.
     30 
     31  Note:
     32  we need to add support for dynamic detection of this feature.
     33  */
     34#define OS2TIMER_RESOLUTION_MINIMUM 2
    2635#define OS2TIMER_RESOLUTION_MAXIMUM 0x7ffffffe
    2736
Note: See TracChangeset for help on using the changeset viewer.