Lines Matching refs:now
175 utime64_t now = ScheduleObj::Instance()->ScheduleGetTime(); in sleep() local
176 _wakeup_time = now + ms; in sleep()
740 utime64_t now = GetLastClock(); in CheckExpired() local
742 if ((now - check_time) > 1000) in CheckExpired()
744 CNetMgr::Instance()->RecycleObjs(now); in CheckExpired()
745 check_time = now; in CheckExpired()
751 utime64_t now = GetLastClock(); in WakeupTimeout() local
753 while (thread && (thread->GetWakeupTime() <= now)) in WakeupTimeout()
772 utime64_t now = GetLastClock(); in KqueueGetTimeout() local
778 else if (thread->GetWakeupTime() < now) in KqueueGetTimeout()
784 return (int)(thread->GetWakeupTime() - now); in KqueueGetTimeout()
966 utime64_t now = 0; in recvfrom() local
982 now = mtframe->GetLastClock(); in recvfrom()
983 if ((int)(now - start) > timeout) in recvfrom()
1026 utime64_t now = 0; in sendto() local
1039 now = mtframe->GetLastClock(); in sendto()
1040 if ((int)(now - start) > timeout) in sendto()
1072 utime64_t now = 0; in connect() local
1085 now = mtframe->GetLastClock(); in connect()
1086 if ((int)(now - start) > timeout) in connect()
1123 utime64_t now = 0; in accept() local
1136 now = mtframe->GetLastClock(); in accept()
1137 if ((int)(now - start) > timeout) in accept()
1169 utime64_t now = 0; in read() local
1182 now = mtframe->GetLastClock(); in read()
1183 if ((int)(now - start) > timeout) in read()
1215 utime64_t now = 0; in write() local
1228 now = mtframe->GetLastClock(); in write()
1229 if ((int)(now - start) > timeout) in write()
1273 utime64_t now = 0; in recv() local
1289 now = mtframe->GetLastClock(); in recv()
1290 if ((int)(now - start) > timeout) in recv()
1333 utime64_t now = 0; in send() local
1346 now = mtframe->GetLastClock(); in send()
1347 if ((int)(now - start) > timeout) in send()
1401 utime64_t now = 0; in WaitEvents() local
1410 now = mtframe->GetLastClock(); in WaitEvents()
1411 if ((int)(now - start) > timeout) in WaitEvents()