| /redis-3.2.3/src/ |
| H A D | latency.c | 100 time_t now = time(NULL); in latencyAddSample() 115 if (ts->samples[prev].time == now) { in latencyAddSample() 121 ts->samples[ts->idx].time = time(NULL); in latencyAddSample() 176 if (ts->samples[j].time == 0) continue; in analyzeLatencyForEvent() 190 ls->period = ts->samples[j].time; in analyzeLatencyForEvent() 198 ls->period = time(NULL) - ls->period; in analyzeLatencyForEvent() 207 if (ts->samples[j].time == 0) continue; in analyzeLatencyForEvent() 484 if (ts->samples[i].time == 0) continue; in latencyCommandReplyWithSamples() 486 addReplyLongLong(c,ts->samples[i].time); in latencyCommandReplyWithSamples() 527 if (ts->samples[i].time == 0) continue; in latencyCommandGenSparkeline() [all …]
|
| H A D | bio.c | 79 time_t time; /* Time at which the job was created. */ member 129 job->time = time(NULL); in bioCreateBackgroundJob()
|
| H A D | slowlog.c | 81 se->time = time(NULL); in slowlogCreateEntry() 157 addReplyLongLong(c,se->time); in slowlogCommand()
|
| H A D | slowlog.h | 39 time_t time; /* Unix time at which the query was executed. */ member
|
| H A D | latency.h | 42 int32_t time; /* We don't use time_t to force 4 bytes usage everywhere. */ member
|
| H A D | rdb.c | 749 if (rdbSaveAuxFieldStrInt(rdb,"ctime",time(NULL)) == -1) return -1; in rdbSaveInfoAuxFields() 907 server.lastsave = time(NULL); in rdbSave() 925 server.lastbgsave_try = time(NULL); in rdbSaveBackground() 957 server.rdb_save_time_start = time(NULL); in rdbSaveBackground() 1235 server.loading_start_time = time(NULL); in startLoading() 1439 server.lastsave = time(NULL); in backgroundSaveDoneHandlerDisk() 1460 server.rdb_save_time_last = time(NULL)-server.rdb_save_time_start; in backgroundSaveDoneHandlerDisk() 1720 server.rdb_save_time_start = time(NULL); in rdbSaveToSlavesSockets()
|
| H A D | ae.c | 72 eventLoop->lastTime = time(NULL); in aeCreateEventLoop() 266 time_t now = time(NULL); in processTimeEvents()
|
| H A D | cluster.h | 79 mstime_t time; /* Time of the last report from this node. */ member
|
| H A D | server.c | 382 ll2string(buf,sizeof(buf),time(NULL)); in serverLogFromHandler() 1067 server.unixtime = time(NULL); in updateCachedTime() 1488 server.aof_last_fsync = time(NULL); in initServerConfig() 1568 server.repl_no_slaves_since = time(NULL); in initServerConfig() 1928 server.lastsave = time(NULL); /* At startup we consider the DB saved. */ in initServer() 1935 server.stat_starttime = time(NULL); in initServer() 3015 -1 : time(NULL)-server.rdb_save_time_start), in genRedisInfoString() 3021 -1 : time(NULL)-server.aof_rewrite_time_start), in genRedisInfoString() 3052 elapsed = time(NULL)-server.loading_start_time; in genRedisInfoString() 3219 lag = time(NULL) - slave->repl_ack_time; in genRedisInfoString() [all …]
|
| H A D | replication.c | 950 if (time(NULL) != newline_sent) { in replicationSendNewlineToMaster() 951 newline_sent = time(NULL); in replicationSendNewlineToMaster() 2243 (time(NULL)-server.repl_transfer_lastio) > server.repl_timeout) in replicationCron() 2251 (time(NULL)-server.repl_transfer_lastio) > server.repl_timeout) in replicationCron() 2259 (time(NULL)-server.master->lastinteraction) > server.repl_timeout) in replicationCron()
|
| H A D | redis-benchmark.c | 218 time_t now = time(NULL); in readHandler() 655 srandom(time(NULL)); in main()
|
| H A D | redis-cli.c | 1778 time_t last_read_time = time(NULL); in pipeMode() 1780 srand(time(NULL)); in pipeMode() 1811 last_read_time = time(NULL); in pipeMode() 1907 time(NULL)-last_read_time > config.pipe_timeout) in pipeMode() 2417 srand(time(NULL)^getpid()); in LRUTestMode()
|
| H A D | intset.c | 356 srand(time(NULL)); in intsetTest()
|
| H A D | aof.c | 1303 server.aof_rewrite_time_start = time(NULL); in rewriteAppendOnlyFileBackground() 1500 server.aof_rewrite_time_last = time(NULL)-server.aof_rewrite_time_start; in backgroundRewriteDoneHandler()
|
| /redis-3.2.3/utils/ |
| H A D | corrupt_rdb.c | 23 srand(time(NULL)); in main()
|
| /redis-3.2.3/utils/lru/ |
| H A D | README | 8 is enough for all the objects to have a different enough time stamp during
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | loslib.c | 126 time_t t = luaL_opt(L, (time_t)luaL_checknumber, 2, time(NULL)); in os_date() 173 t = time(NULL); /* get current time */ in os_time()
|
| /redis-3.2.3/ |
| H A D | MANIFESTO | 14 support, but also the space and time complexity of the data type and the 45 when needed. At the same time, when writing the Redis story we're trying to 51 of code. Most of the time the best way to fight complexity is by not
|
| H A D | 00-RELEASENOTES | 64 process could spawn at the same time. This is known to trash disk I/O, 66 Normally Redis avoids to have the two writing children at the same time, but 263 6. TTL and TYPE command no longer alter the last access time of a key, for 265 update the access time of a key. 435 | Test TOUCH and new TTL / TYPE behavior about object access time. 1241 The old code mis-calculated the amount of time to wait till next event. 1265 The problem with the old implementation is that, the time returned by 1266 a timer event (that is the time after it want to run again) is added 1267 to the event *start time*. So if the event takes, in order to run, more 1268 than the time it says it want to be scheduled again for running, an
|
| /redis-3.2.3/deps/ |
| H A D | README.md | 4 …od performances and excellent fragmentation behavior. This component is upgraded from time to time.
|
| /redis-3.2.3/utils/hashtable/ |
| H A D | rehashing.c | 104 srand(time(NULL)); in main()
|
| /redis-3.2.3/deps/linenoise/ |
| H A D | README.markdown | 72 standard input is not a tty, which happens every time you redirect a file 116 Use `linenoiseHistoryAdd` every time you want to add a new element 135 is called every time the user presses `<TAB>`. Your callback will return a
|
| /redis-3.2.3/deps/jemalloc/test/include/test/ |
| H A D | jemalloc_test.h.in | 14 #include <sys/time.h>
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | ChangeLog | 375 custom run-time options. 580 - Fix assertions in arena_purge() (for real this time). 671 run-time configuration/introspection. Nonetheless, numerous performance 688 - Add compile-time support for all TLS-related functionality via pthreads TSD. 748 This release focuses on speed and run-time introspection. Numerous 754 - Add mallctl*(), for the purposes of introspection and run-time 759 - Compute various additional run-time statistics, including per size class
|
| /redis-3.2.3/deps/lua/ |
| H A D | HISTORY | 49 + new functions (time/date, tmpfile, unpack, require, load*, etc.).
|