Ignore:
Timestamp:
04/14/03 17:54:32 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/candrv/nodedrv.cc

    r1953 r1959  
    501501    fTimeout->Reset();
    502502
    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;
    505506
    506507    fTimeout->TurnOn();
     
    583584    if (now > fTimeoutTime)
    584585    {
    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;
    586587        //cout << "ERROR - " << GetNodeName() << " didn't respond in timeout window." << endl;
    587588        //lout << "ERROR - " << GetNodeName() << " didn't respond in timeout window." << endl;
     
    609610    Timer t(tv);
    610611    fTimeoutTime = t + (fGuardTime*fLifeTimeFactor/1000.);
     612    //cout << GetNodeName() << ": " << fmod(fTimeoutTime*10000, 10000)/10 << endl;
    611613}
    612614
Note: See TracChangeset for help on using the changeset viewer.