Changeset 1959 for trunk/MagicSoft/Cosy/candrv
- Timestamp:
- 04/14/03 17:54:32 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/candrv/nodedrv.cc
r1953 r1959 501 501 fTimeout->Reset(); 502 502 503 // Timer t; 504 // fTimeoutTime = t.Now() + (fGuardTime*fLifeTimeFactor/1000.); 503 Timer t; 504 fTimeoutTime = t.Now() + (fGuardTime*fLifeTimeFactor/1000.); 505 //cout << GetNodeName() << ": " << fmod(fTimeoutTime*10000, 10000)/10 << endl; 505 506 506 507 fTimeout->TurnOn(); … … 583 584 if (now > fTimeoutTime) 584 585 { 585 cout << "==out==> " << fmod(now*1000, 10000)/10 << " > " << fmod(fTimeoutTime*10000, 10000)/10 << endl;586 cout << GetNodeName() << ": " << "==out==> " << fmod(now*1000, 10000)/10 << " > " << fmod(fTimeoutTime*10000, 10000)/10 << endl; 586 587 //cout << "ERROR - " << GetNodeName() << " didn't respond in timeout window." << endl; 587 588 //lout << "ERROR - " << GetNodeName() << " didn't respond in timeout window." << endl; … … 609 610 Timer t(tv); 610 611 fTimeoutTime = t + (fGuardTime*fLifeTimeFactor/1000.); 612 //cout << GetNodeName() << ": " << fmod(fTimeoutTime*10000, 10000)/10 << endl; 611 613 } 612 614
Note:
See TracChangeset
for help on using the changeset viewer.