• R/O
  • SSH
  • HTTPS

naniya: Commit


Commit MetaInfo

Revision257 (tree)
Time2011-01-02 15:13:37
Authornotanpe

Log Message

ギア指定時に最小タイマ分解能を変更。 (副作用はあるのか?)

Change Summary

Incremental Difference

--- branches/mty-makai/mty.c (revision 256)
+++ branches/mty-makai/mty.c (revision 257)
@@ -662,8 +662,16 @@
662662 }
663663 }
664664
665+ if ( gear != GEAR_MAX ) {
666+ TIMECAPS tc;
667+ if ( timeGetDevCaps( &tc, sizeof( TIMECAPS ) ) == MMSYSERR_NOERROR ) {
668+ timeBeginPeriod( tc.wPeriodMin );
669+ }
670+ }
671+
665672 nThread = popcnt64( proc_mask );
666673 printf( "%d 個の検索スレッドを起動\n", nThread );
674+
667675 if ( verbose ) {
668676 int i;
669677 printf( "優先度を" );
Show on old repository browser