Searched refs:ustime (Results 1 – 10 of 10) sorted by relevance
106 long long start = ustime(), timelimit, elapsed; in activeExpireCycle()220 elapsed = ustime()-start; in activeExpireCycle()232 elapsed = ustime()-start; in activeExpireCycle()
642 if (ustime() > endtime) { in scanLaterStraemListpacks()974 if (quit || ustime() > endtime) { in defragLaterStep()1054 start = ustime(); in activeDefragCycle()1074 long long now = ustime(); in activeDefragCycle()1088 if (server.active_defrag_running != 0 && ustime() < endtime) in activeDefragCycle()1094 start_scan = ustime(); in activeDefragCycle()1119 if (!cursor || ustime() > endtime) { in activeDefragCycle()
105 static long long ustime(void) { in ustime() function199 if (c->latency < 0) c->latency = ustime()-(c->start); in readHandler()274 c->start = ustime(); in writeHandler()
1566 start = ustime(); in rewriteAppendOnlyFileBackground()1592 server.stat_fork_time = ustime()-start; in rewriteAppendOnlyFileBackground()1665 long long now = ustime(); in backgroundRewriteDoneHandler()1784 "Background AOF rewrite signal handler took %lldus", ustime()-now); in backgroundRewriteDoneHandler()
431 long long ustime(void) { in ustime() function443 return ustime()/1000; in mstime()2444 start = ustime(); in call()2446 duration = ustime()-start; in call()3892 long long start = ustime(); in loadDataFromDisk()3895 …serverLog(LL_NOTICE,"DB loaded from append only file: %.3f seconds",(float)(ustime()-start)/100000… in loadDataFromDisk()3900 (float)(ustime()-start)/1000000); in loadDataFromDisk()
1292 start = ustime(); in rdbSaveBackground()1316 server.stat_fork_time = ustime()-start; in rdbSaveBackground()2277 start = ustime(); in rdbSaveToSlavesSockets()2373 server.stat_fork_time = ustime()-start; in rdbSaveToSlavesSockets()
254 static long long ustime(void) { in ustime() function265 return ustime()/1000; in mstime()5850 long long history_start = ustime(); in latencyDistMode()5892 start = ustime(); in latencyDistMode()5898 latency = ustime()-start; in latencyDistMode()5911 if (count && (ustime()-history_start)/1000 > history_interval) { in latencyDistMode()5915 history_start = ustime(); in latencyDistMode()6954 test_end = ustime() + run_time; in intrinsicLatencyMode()6960 start = ustime(); in intrinsicLatencyMode()6962 end = ustime(); in intrinsicLatencyMode()
1465 static long long ustime(void) { in ustime() function1476 static long long mstime(void) { return ustime() / 1000; } in mstime()
4311 uint64_t now = ustime(); in moduleTimerHandler()4351 uint64_t expiretime = ustime()+period*1000; in RM_CreateTimer()4414 int64_t rem = ntohu64(id)-ustime(); in RM_GetTimerInfo()
1417 long long ustime(void);