[so] Tema2 - times
    Florin Popescu 
    florin_shm at rdslink.ro
       
    Sat Nov 26 17:36:43 EET 2005
    
    
  
Am si eu nelamuriri:
 
In Windows: cum se calculeaza CPUTime:
 
Folosind GetProcessTimes() - obtinem kernel si user time. 
CPUTime este user time sau kernel time + user time?
 
In linux presupun ca este tms -> utime obtinut cu times()  ?
 
Avand in vedere ca ceea ce returneaza times() se reseteaza cam la 70 minute
(??) si ca astfel am putea sa determinam o diferenta negativa pentru AllTime
sau IOTime presupun ca este indicat sa folosim gettimeofday .           
 
Multumesc, 
 
Florin Popescu 
CA 343
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/so/attachments/20051126/a7ef496c/attachment.html
    
    
More information about the so
mailing list