[so] [tema 3] testul de stres din Windows
    Razvan Deaconescu 
    razvand at cs.pub.ro
       
    Tue Dec  4 21:02:39 EET 2007
    
    
  
On Sun, 2007-12-02 at 18:45 +0200, foxX wrote:
> TestStres.cpp
> 
> #define NRR 	6
> #define NRW		2
> #define TIME_INSIDE 	0.211	
> #define TIME_OUTSIDE_W	0.271
> #define TIME_OUTSIDE_R 0.167
> #define NR_ITERATII	1000
> 
> 
> E lucru cunoscut ca Sleep(TIME_XXXXXXXXXX) nu face nimic pentru
> valorile asta ale macrourilor, nu?
> 
> static_cast<DWORD>(0.211) ....
Da, e corect[1].
Merci de observatie, Alex. Am corectat in test[2].
Razvan
[1] http://msdn2.microsoft.com/en-us/library/ms686298.aspx
[2] http://cs.pub.ro/%7Eso/wiki/images/4/4e/Test_monitor_win.zip
    
    
More information about the so
mailing list