Home
last modified time | relevance | path

Searched refs:start_time (Results 1 – 4 of 4) sorted by relevance

/redis-3.2.3/tests/unit/
H A Dobuf-limits.tcl31 set start_time 0
39 if {$start_time == 0} {set start_time [clock seconds]}
40 set time_elapsed [expr {[clock seconds]-$start_time}]
57 set start_time 0
65 if {$start_time == 0} {set start_time [clock seconds]}
66 set time_elapsed [expr {[clock seconds]-$start_time}]
/redis-3.2.3/tests/helpers/
H A Dgen_write_load.tcl4 set start_time [clock seconds]
9 if {[clock seconds]-$start_time > $seconds} {
/redis-3.2.3/src/
H A Dsentinel.c251 mstime_t start_time; /* Script execution time if the script is running, member
687 sj->start_time = 0; in sentinelScheduleScriptExecution()
749 if (sj->start_time && sj->start_time > now) continue; in sentinelRunPendingScripts()
752 sj->start_time = mstime(); in sentinelRunPendingScripts()
824 sj->start_time = mstime() + in sentinelCollectTerminatedScripts()
852 (now - sj->start_time) > SENTINEL_SCRIPT_MAX_RUNTIME) in sentinelKillTimedoutScripts()
889 addReplyBulkLongLong(c,mstime() - sj->start_time); in sentinelPendingScriptsCommand()
891 mstime_t delay = sj->start_time ? (sj->start_time-mstime()) : 0; in sentinelPendingScriptsCommand()
H A Dredis-cli.c1321 long long start_time = mstime(), elapsed; in repl() local
1343 elapsed = mstime()-start_time; in repl()