- Timestamp:
- Sep 16, 2001, 9:27:25 PM (24 years ago)
- Location:
- trunk/src/winmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winmm/os2timer.h
r3600 r6728 1 /* $Id: os2timer.h,v 1. 9 2000-05-24 01:56:25phaller Exp $ */1 /* $Id: os2timer.h,v 1.10 2001-09-16 19:27:24 phaller Exp $ */ 2 2 3 3 #ifndef __OS2TIMER_H__ … … 23 23 ****************************************************************************/ 24 24 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 26 35 #define OS2TIMER_RESOLUTION_MAXIMUM 0x7ffffffe 27 36 -
trunk/src/winmm/time.cpp
r6408 r6728 1 /* $Id: time.cpp,v 1.1 2 2001-07-30 10:19:54 sandervlExp $ */1 /* $Id: time.cpp,v 1.13 2001-09-16 19:27:25 phaller Exp $ */ 2 2 3 3 /* … … 64 64 { 65 65 dprintf(("WINMM:timeGetDevCaps Not really Implemented\n")); 66 66 67 /* 2001-09-16 PH 68 add dynamic detection of OS/2's minimum timer resolution 69 */ 70 67 71 ptc->wPeriodMin = OS2TIMER_RESOLUTION_MINIMUM; 68 72 ptc->wPeriodMax = OS2TIMER_RESOLUTION_MAXIMUM;
Note:
See TracChangeset
for help on using the changeset viewer.