| /f-stack/app/redis-5.0.5/src/ |
| H A D | syncio.c | 51 long long start = mstime(); in syncWrite() 72 elapsed = mstime() - start; in syncWrite() 87 long long start = mstime(); in syncRead() 111 elapsed = mstime() - start; in syncRead()
|
| H A D | sentinel.c | 756 mstime_t now = mstime(); in sentinelRunPendingScripts() 774 sj->start_time = mstime(); in sentinelRunPendingScripts() 868 mstime_t now = mstime(); in sentinelKillTimedoutScripts() 968 link->act_ping_time = mstime(); in createInstanceLink() 1212 ri->last_pub_time = mstime(); in createSentinelRedisInstance() 1213 ri->last_hello_time = mstime(); in createSentinelRedisInstance() 2000 mstime_t now = mstime(); in sentinelReconnectInstance() 2204 ri->info_refresh = mstime(); in sentinelRefreshInstanceInfo() 2661 mstime_t now = mstime(); in sentinelSendPeriodicCommands() 3209 mstime_t now = mstime(); in sentinelCommand() [all …]
|
| H A D | expire.c | 172 now = mstime(); in activeExpireCycle() 290 mstime_t start = mstime(); in expireSlaveKeys() 337 if ((cycles % 64) == 0 && mstime()-start > 1) break; in expireSlaveKeys() 427 if (when <= mstime() && !server.loading && !server.masterhost) { in expireGenericCommand() 454 expireGenericCommand(c,mstime(),UNIT_SECONDS); in expireCommand() 464 expireGenericCommand(c,mstime(),UNIT_MILLISECONDS); in pexpireCommand() 485 ttl = expire-mstime(); in ttlGenericCommand()
|
| H A D | latency.h | 72 var = mstime(); \ 80 var = mstime() - var; \
|
| H A D | cluster.c | 200 n->fail_time = mstime(); in clusterLoadConfig() 591 link->ctime = mstime(); in createClusterLink() 701 node->ctime = mstime(); in createClusterNode() 746 fr->time = mstime(); in clusterNodeAddFailureReport() 754 fr->time = mstime(); in clusterNodeAddFailureReport() 771 mstime_t now = mstime(); in clusterNodeCleanupFailureReports() 1211 node->fail_time = mstime(); in markNodeAsFailingIfNeeded() 1223 mstime_t now = mstime(); in clearNodeFailureIfNeeded() 2409 link->node->ping_sent = mstime(); in clusterSendPing() 4930 if (!absttl) ttl+=mstime(); in restoreCommand() [all …]
|
| H A D | redis-benchmark.c | 115 static long long mstime(void) { in mstime() function 471 config.start = mstime(); in benchmark() 473 config.totlatency = mstime()-config.start; in benchmark() 627 float dt = (float)(mstime()-config.start)/1000.0; in showThroughput()
|
| H A D | t_stream.c | 75 uint64_t ms = mstime(); in streamNextID() 973 nack->delivery_time = mstime(); in streamReplyWithRange() 1042 nack->delivery_time = mstime(); in streamReplyWithRangeFromConsumerPEL() 1594 nack->delivery_time = mstime(); in streamCreateNACK() 1665 consumer->seen_time = mstime(); in streamLookupConsumer() 2023 mstime_t now = mstime(); in xpendingCommand() 2168 mstime_t now = mstime(); in xclaimCommand() 2477 mstime_t now = mstime(); in xinfoCommand()
|
| H A D | redis-check-rdb.c | 183 long long expiretime, now = mstime(); in redis_check_rdb()
|
| H A D | evict.c | 71 return (mstime()/LRU_CLOCK_RESOLUTION) & LRU_CLOCK_MAX; in getLRUClock()
|
| H A D | quicklist.c | 1476 static long long mstime(void) { return ustime() / 1000; } in mstime() function 1628 long long start = mstime(); in quicklistTest() 2584 long long stop = mstime(); in quicklistTest() 2590 long long start = mstime(); in quicklistTest() 2635 long long stop = mstime(); in quicklistTest()
|
| H A D | server.c | 442 mstime_t mstime(void) { in mstime() function 791 long long t = mstime() - server.inst_metric[metric].last_sample_time; in trackInstantaneousMetric() 802 server.inst_metric[metric].last_sample_time = mstime(); in trackInstantaneousMetric() 974 mstime_t now = mstime(); in clientsCron() 1066 server.mstime = mstime(); in updateCachedTime() 2010 server.inst_metric[j].last_sample_time = mstime(); in resetServerStats()
|
| H A D | blocked.c | 92 tval += mstime(); in getTimeoutFromObjectOrReply()
|
| H A D | aof.c | 567 when += mstime(); in catAppendOnlyExpireAtCommand() 1414 mstime_t start = mstime(); in rewriteAppendOnlyFile() 1415 while(mstime()-start < 1000 && nodata < 20) { in rewriteAppendOnlyFile()
|
| H A D | scripting.c | 1236 long long elapsed = mstime() - server.lua_time_start; in luaMaskCountHook() 1359 server.lua_time_start = mstime(); in evalGenericCommand() 2423 mstime_t elapsed = mstime() - server.lua_time_start; in luaLdbLineHook() 2453 server.lua_time_start = mstime(); in luaLdbLineHook()
|
| H A D | redis-cli.c | 264 static long long mstime(void) { in mstime() function 1762 long long start_time = mstime(), elapsed; in repl() 1776 elapsed = mstime()-start_time; in repl() 5727 long long history_start = mstime(); in latencyMode() 5739 start = mstime(); in latencyMode() 5745 latency = mstime()-start; in latencyMode() 5764 } else if (mstime()-history_start > config.interval) { in latencyMode() 5770 if (config.latency_history && mstime()-history_start > history_interval) in latencyMode() 5773 history_start = mstime(); in latencyMode() 6864 start_cycle = mstime(); in LRUTestMode() [all …]
|
| H A D | t_string.c | 88 if (expire) setExpire(c,c->db,key,mstime()+milliseconds); in setGenericCommand()
|
| H A D | module.c | 770 return mstime(); in RM_Milliseconds() 1623 expire -= mstime(); in RM_GetExpire() 1640 expire += mstime(); in RM_SetExpire() 3628 c->bpop.timeout = timeout_ms ? (mstime()+timeout_ms) : 0; in RM_BlockClient()
|
| H A D | server.h | 1226 long long mstime; /* Like 'unixtime' but with milliseconds resolution. */ member 1418 long long mstime(void);
|
| H A D | db.c | 1143 mstime_t now = server.lua_caller ? server.lua_time_start : mstime(); in keyIsExpired()
|
| H A D | networking.c | 2191 server.clients_pause_end_time < server.mstime) in clientsArePaused()
|
| H A D | rdb.c | 1874 long long lru_idle = -1, lfu_freq = -1, expiretime = -1, now = mstime(); in rdbLoadRio()
|