Lines Matching refs:curTime
730 int curTime = 0;
737 curTime = clock.getMilliseconds();
739 while (curTime < testTime)
743 if (curTime-lastSendTime > sendInterval)
745 printf(" %d ms: sending keepalive\n", curTime);
747 curTime = clock.getMilliseconds();
748 lastSendTime = curTime;
755 printf(" %d ms: waiting for keepalive\n", curTime);
762 printf(" %d ms: got keepalive\n", curTime);
771 curTime = clock.getMilliseconds();
783 curTime = clock.getMilliseconds();
785 while (curTime < expectedTimeout)
792 curTime = clock.getMilliseconds();
793 printf(" %d ms: got keepalive\n", curTime);