Lines Matching refs:curTime
729 int curTime = 0; in runClient() local
736 curTime = clock.getMilliseconds(); in runClient()
738 while (curTime < testTime) in runClient()
742 if (curTime-lastSendTime > sendInterval) in runClient()
744 printf(" %d ms: sending keepalive\n", curTime); in runClient()
746 curTime = clock.getMilliseconds(); in runClient()
747 lastSendTime = curTime; in runClient()
754 printf(" %d ms: waiting for keepalive\n", curTime); in runClient()
761 printf(" %d ms: got keepalive\n", curTime); in runClient()
770 curTime = clock.getMilliseconds(); in runClient()
782 curTime = clock.getMilliseconds(); in runClient()
784 while (curTime < expectedTimeout) in runClient()
791 curTime = clock.getMilliseconds(); in runClient()
792 printf(" %d ms: got keepalive\n", curTime); in runClient()