| /f-stack/app/redis-5.0.5/src/ |
| H A D | syncio.c | 57 long long elapsed; in syncWrite() local 72 elapsed = mstime() - start; in syncWrite() 73 if (elapsed >= timeout) { in syncWrite() 77 remaining = timeout - elapsed; in syncWrite() 94 long long elapsed; in syncRead() local 111 elapsed = mstime() - start; in syncRead() 112 if (elapsed >= timeout) { in syncRead() 116 remaining = timeout - elapsed; in syncRead()
|
| H A D | latency.c | 525 int elapsed; in latencyCommandGenSparkeline() local 538 elapsed = time(NULL) - ts->samples[i].time; in latencyCommandGenSparkeline() 539 if (elapsed < 60) in latencyCommandGenSparkeline() 540 snprintf(buf,sizeof(buf),"%ds",elapsed); in latencyCommandGenSparkeline() 541 else if (elapsed < 3600) in latencyCommandGenSparkeline() 542 snprintf(buf,sizeof(buf),"%dm",elapsed/60); in latencyCommandGenSparkeline() 543 else if (elapsed < 3600*24) in latencyCommandGenSparkeline() 544 snprintf(buf,sizeof(buf),"%dh",elapsed/3600); in latencyCommandGenSparkeline() 546 snprintf(buf,sizeof(buf),"%dd",elapsed/(3600*24)); in latencyCommandGenSparkeline()
|
| H A D | expire.c | 106 long long start = ustime(), timelimit, elapsed; in activeExpireCycle() local 220 elapsed = ustime()-start; in activeExpireCycle() 221 if (elapsed > timelimit) { in activeExpireCycle() 232 elapsed = ustime()-start; in activeExpireCycle() 233 latencyAddSampleIfNeeded("expire-cycle",elapsed/1000); in activeExpireCycle()
|
| H A D | dict.c | 1148 elapsed = timeInMilliseconds()-start; \ 1149 printf(msg ": %ld items in %lld ms\n", count, elapsed); \ 1155 long long start, elapsed; in main() local
|
| H A D | scripting.c | 1236 long long elapsed = mstime() - server.lua_time_start; in luaMaskCountHook() local 1242 if (elapsed >= server.lua_time_limit && server.lua_timedout == 0) { in luaMaskCountHook() 1243 …n after %lld milliseconds. You can try killing the script using the SCRIPT KILL command.",elapsed); in luaMaskCountHook() 2423 mstime_t elapsed = mstime() - server.lua_time_start; in luaLdbLineHook() local 2426 if (elapsed >= timelimit) { in luaLdbLineHook()
|
| H A D | sentinel.c | 3575 mstime_t elapsed = 0; in sentinelCheckSubjectivelyDown() local 3578 elapsed = mstime() - ri->link->act_ping_time; in sentinelCheckSubjectivelyDown() 3580 elapsed = mstime() - ri->link->last_avail_time; in sentinelCheckSubjectivelyDown() 3619 if (elapsed > ri->down_after_period || in sentinelCheckSubjectivelyDown() 3733 mstime_t elapsed = mstime() - ri->last_master_down_reply_time; in sentinelAskMasterStateToOtherSentinels() local 3738 if (elapsed > SENTINEL_ASK_PERIOD*5) { in sentinelAskMasterStateToOtherSentinels() 4230 mstime_t elapsed = mstime() - master->failover_state_change_time; in sentinelFailoverDetectEnd() local 4250 if (elapsed > master->failover_timeout) { in sentinelFailoverDetectEnd()
|
| H A D | t_stream.c | 2049 mstime_t elapsed = now - nack->delivery_time; in xpendingCommand() local 2050 if (elapsed < 0) elapsed = 0; in xpendingCommand() 2051 addReplyLongLong(c,elapsed); in xpendingCommand()
|
| /f-stack/freebsd/contrib/openzfs/cmd/raidz_test/ |
| H A D | raidz_bench.c | 77 double elapsed, d_bw; in run_gen_bench_impl() local 105 elapsed = NSEC2SEC((double)(gethrtime() - start)); in run_gen_bench_impl() 109 d_bw /= (1024.0 * 1024.0 * elapsed); in run_gen_bench_impl() 149 double elapsed, d_bw; in run_rec_bench_impl() local 197 elapsed = NSEC2SEC((double)(gethrtime() - start)); in run_rec_bench_impl() 201 d_bw /= (1024.0 * 1024.0 * elapsed); in run_rec_bench_impl()
|
| /f-stack/app/redis-5.0.5/utils/ |
| H A D | cluster_fail_time.tcl | 39 set elapsed [expr {$now-$start}] 40 puts $elapsed 41 lappend samples $elapsed
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zfs_ratelimit.c | 79 hrtime_t elapsed; in zfs_ratelimit() local 85 elapsed = now - rl->start; in zfs_ratelimit() 88 if (NSEC2SEC(elapsed) >= rl->interval) { in zfs_ratelimit()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool_influxdb/ |
| H A D | zpool_influxdb.c | 148 int64_t elapsed; in print_scan_status() local 215 elapsed = (int64_t)time(NULL) - (int64_t)ps->pss_pass_start - in print_scan_status() 217 elapsed = (elapsed > 0) ? elapsed : 1; in print_scan_status() 219 rate = pass_exam / elapsed; in print_scan_status() 223 elapsed = in print_scan_status() 226 elapsed = (elapsed > 0) ? elapsed : 1; in print_scan_status() 228 rate = pass_exam / elapsed; in print_scan_status()
|
| /f-stack/app/redis-5.0.5/tests/unit/ |
| H A D | sort.tcl | 275 set elapsed [expr [clock clicks -milliseconds]-$start] 277 … puts -nonewline "\n Average time to sort: [expr double($elapsed)/100] milliseconds " 287 set elapsed [expr [clock clicks -milliseconds]-$start] 289 … puts -nonewline "\n Average time to sort: [expr double($elapsed)/100] milliseconds " 299 set elapsed [expr [clock clicks -milliseconds]-$start] 301 … puts -nonewline "\n Average time to sort: [expr double($elapsed)/100] milliseconds " 311 set elapsed [expr [clock clicks -milliseconds]-$start] 313 … puts -nonewline "\n Average time to sort: [expr double($elapsed)/100] milliseconds "
|
| H A D | protocol.tcl | 90 set elapsed [expr {[clock seconds]-$test_start}] 91 if {$elapsed > $test_time_limit} {
|
| /f-stack/app/redis-5.0.5/tests/ |
| H A D | test_helper.tcl | 234 set elapsed [expr {[clock seconds]-$::last_progress}] 236 if {$elapsed > $::timeout} { 281 set elapsed [expr {[clock seconds]-$::clients_start_time($fd)}] 285 …s "\[$completed_tests_count/$all_tests_count [colorstr yellow $status]\]: $data ($elapsed seconds)" 286 lappend ::clients_time_history $elapsed $data 630 set elapsed [expr [clock milliseconds]-$start] 631 expr {$elapsed > 200}
|
| /f-stack/app/redis-5.0.5/tests/integration/ |
| H A D | psync2-reg.tcl | 41 set elapsed [expr {[clock milliseconds]-$cycle_start_time}] 42 if {$elapsed > $duration*1000} break
|
| /f-stack/freebsd/contrib/openzfs/lib/libtpool/ |
| H A D | thread_pool.c | 127 int elapsed; in tpool_worker() local 141 elapsed = 0; in tpool_worker() 160 elapsed = 1; in tpool_worker() 180 elapsed = 0; in tpool_worker() 212 if (elapsed && tpool->tp_current > tpool->tp_minimum) { in tpool_worker()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_source.c | 747 struct timeval now, elapsed; in ng_source_intr() local 752 elapsed = now; in ng_source_intr() 753 timevalsub(&elapsed, &sc->stats.lastTime); in ng_source_intr() 754 usec = elapsed.tv_sec * 1000000 + elapsed.tv_usec; in ng_source_intr()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/input/ |
| H A D | stmpe-keypad.txt | 9 - st,scan-count : Scanning cycles elapsed before key data is updated
|
| /f-stack/freebsd/contrib/device-tree/Bindings/watchdog/ |
| H A D | sbsa-gwdt.txt | 4 after two stages of timeout have elapsed. A detailed definition of the
|
| H A D | gpio-wdt.txt | 19 to toggle the signal when the device is open and the timeout elapsed.
|
| /f-stack/app/nginx-1.16.1/src/http/ |
| H A D | ngx_http_file_cache.c | 1802 ngx_msec_t elapsed; in ngx_http_file_cache_expire() local 1890 elapsed = ngx_abs((ngx_msec_int_t) (ngx_current_msec - cache->last)); in ngx_http_file_cache_expire() 1892 if (elapsed >= cache->manager_threshold) { in ngx_http_file_cache_expire() 1964 ngx_msec_t elapsed, next; in ngx_http_file_cache_manager() local 2012 elapsed = ngx_abs((ngx_msec_int_t) (ngx_current_msec - cache->last)); in ngx_http_file_cache_manager() 2014 if (elapsed >= cache->manager_threshold) { in ngx_http_file_cache_manager() 2022 elapsed = ngx_abs((ngx_msec_int_t) (ngx_current_msec - cache->last)); in ngx_http_file_cache_manager() 2026 cache->files, elapsed, next); in ngx_http_file_cache_manager() 2088 ngx_msec_t elapsed; in ngx_http_file_cache_manage_file() local 2106 "http file cache loader time elapsed: %M", elapsed); in ngx_http_file_cache_manage_file() [all …]
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | nfb.rst | 72 (number of seconds elapsed since 1.1.1970 00:00:00 UTC) and its higher 32 bits represent 73 *nanosecond* portion of the timestamp (number of nanoseconds elapsed since the beginning of the
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/include/ |
| H A D | blkdev.shlib | 79 typeset elapsed=$((SECONDS - start)) 80 [[ $elapsed > 60 ]] && \ 81 log_note udevadm settle time too long: $elapsed
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | rxtx_callbacks.rst | 14 prior to transmission to calculate the elapsed time, in CPU cycles.
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 7297 uint64_t elapsed, scan_rate, issue_rate; in print_scan_scrub_resilver_status() local 7377 elapsed = time(NULL) - ps->pss_pass_start; in print_scan_scrub_resilver_status() 7378 elapsed -= ps->pss_pass_scrub_spent_paused; in print_scan_scrub_resilver_status() 7379 elapsed = (elapsed != 0) ? elapsed : 1; in print_scan_scrub_resilver_status() 7381 scan_rate = pass_scanned / elapsed; in print_scan_scrub_resilver_status() 7382 issue_rate = pass_issued / elapsed; in print_scan_scrub_resilver_status() 7705 uint64_t copied, total, elapsed, mins_left, hours_left; in print_removal_status() local 7723 elapsed = time(NULL) - prs->prs_start_time; in print_removal_status() 7724 elapsed = elapsed > 0 ? elapsed : 1; in print_removal_status() 7725 rate = copied / elapsed; in print_removal_status()
|