equal
deleted
inserted
replaced
521 TimeStamp *full_time=NULL) |
521 TimeStamp *full_time=NULL) |
522 { |
522 { |
523 TimeStamp full; |
523 TimeStamp full; |
524 unsigned int total=0; |
524 unsigned int total=0; |
525 Timer t; |
525 Timer t; |
526 for(unsigned int tn=1;tn <= 1<<31 && full.realTime()<=min_time; tn*=2) { |
526 for(unsigned int tn=1;tn <= 1U<<31 && full.realTime()<=min_time; tn*=2) { |
527 for(;total<tn;total++) f(); |
527 for(;total<tn;total++) f(); |
528 full=t; |
528 full=t; |
529 } |
529 } |
530 if(num) *num=total; |
530 if(num) *num=total; |
531 if(full_time) *full_time=full; |
531 if(full_time) *full_time=full; |