Home
last modified time | relevance | path

Searched refs:ustime (Results 1 – 10 of 10) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dexpire.c106 long long start = ustime(), timelimit, elapsed; in activeExpireCycle()
220 elapsed = ustime()-start; in activeExpireCycle()
232 elapsed = ustime()-start; in activeExpireCycle()
H A Ddefrag.c642 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()
H A Dredis-benchmark.c105 static long long ustime(void) { in ustime() function
199 if (c->latency < 0) c->latency = ustime()-(c->start); in readHandler()
274 c->start = ustime(); in writeHandler()
H A Daof.c1566 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()
H A Dserver.c431 long long ustime(void) { in ustime() function
443 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()
H A Drdb.c1292 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()
H A Dredis-cli.c254 static long long ustime(void) { in ustime() function
265 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()
H A Dquicklist.c1465 static long long ustime(void) { in ustime() function
1476 static long long mstime(void) { return ustime() / 1000; } in mstime()
H A Dmodule.c4311 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()
H A Dserver.h1417 long long ustime(void);