Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 70) sorted by relevance

123

/f-stack/freebsd/contrib/zstd/programs/
H A Dtimefn.c105 static UTIL_time_t UTIL_getSpanTime(UTIL_time_t begin, UTIL_time_t end) in UTIL_getSpanTime() argument
108 if (end.tv_nsec < begin.tv_nsec) { in UTIL_getSpanTime()
109 diff.tv_sec = (end.tv_sec - 1) - begin.tv_sec; in UTIL_getSpanTime()
110 diff.tv_nsec = (end.tv_nsec + 1000000000ULL) - begin.tv_nsec; in UTIL_getSpanTime()
112 diff.tv_sec = end.tv_sec - begin.tv_sec; in UTIL_getSpanTime()
113 diff.tv_nsec = end.tv_nsec - begin.tv_nsec; in UTIL_getSpanTime()
118 PTime UTIL_getSpanTimeMicro(UTIL_time_t begin, UTIL_time_t end) in UTIL_getSpanTimeMicro() argument
120 UTIL_time_t const diff = UTIL_getSpanTime(begin, end); in UTIL_getSpanTimeMicro()
127 PTime UTIL_getSpanTimeNano(UTIL_time_t begin, UTIL_time_t end) in UTIL_getSpanTimeNano() argument
129 UTIL_time_t const diff = UTIL_getSpanTime(begin, end); in UTIL_getSpanTimeNano()
/f-stack/dpdk/app/test/
H A Dtest_lpm6_perf.c58 uint64_t begin, total_time; in test_lpm6_perf() local
83 begin = rte_rdtsc(); in test_lpm6_perf()
91 total_time = rte_rdtsc() - begin; in test_lpm6_perf()
102 begin = rte_rdtsc(); in test_lpm6_perf()
110 total_time += rte_rdtsc() - begin; in test_lpm6_perf()
130 begin = rte_rdtsc(); in test_lpm6_perf()
132 total_time += rte_rdtsc() - begin; in test_lpm6_perf()
144 begin = rte_rdtsc(); in test_lpm6_perf()
152 total_time += rte_rdtsc() - begin; in test_lpm6_perf()
H A Dtest_fib6_perf.c70 uint64_t begin, total_time; in test_fib6_perf() local
100 begin = rte_rdtsc(); in test_fib6_perf()
109 total_time = rte_rdtsc() - begin; in test_fib6_perf()
125 begin = rte_rdtsc(); in test_fib6_perf()
127 total_time += rte_rdtsc() - begin; in test_fib6_perf()
139 begin = rte_rdtsc(); in test_fib6_perf()
147 total_time = rte_rdtsc() - begin; in test_fib6_perf()
H A Dtest_rcu_qsbr_perf.c60 uint64_t begin, cycles; in test_rcu_qsbr_reader_perf() local
67 begin = rte_rdtsc_precise(); in test_rcu_qsbr_reader_perf()
83 cycles = rte_rdtsc_precise() - begin; in test_rcu_qsbr_reader_perf()
101 uint64_t begin, cycles; in test_rcu_qsbr_writer_perf() local
103 begin = rte_rdtsc_precise(); in test_rcu_qsbr_writer_perf()
289 uint64_t begin, cycles; in test_rcu_qsbr_hash_reader() local
299 begin = rte_rdtsc_precise(); in test_rcu_qsbr_hash_reader()
385 uint64_t token, begin, cycles; in test_rcu_qsbr_sw_sv_1qs() local
424 begin = rte_rdtsc_precise(); in test_rcu_qsbr_sw_sv_1qs()
504 uint64_t token, begin, cycles; in test_rcu_qsbr_sw_sv_1qs_non_blocking() local
[all …]
H A Dtest_lpm_perf.c433 uint64_t begin, total_cycles; in test_lpm_rcu_qsbr_writer() local
441 begin = rte_rdtsc_precise(); in test_lpm_rcu_qsbr_writer()
623 begin = rte_rdtsc(); in test_lpm_perf()
631 total_time = rte_rdtsc() - begin; in test_lpm_perf()
667 begin = rte_rdtsc(); in test_lpm_perf()
674 total_time += rte_rdtsc() - begin; in test_lpm_perf()
693 begin = rte_rdtsc(); in test_lpm_perf()
702 total_time += rte_rdtsc() - begin; in test_lpm_perf()
720 begin = rte_rdtsc(); in test_lpm_perf()
741 begin = rte_rdtsc(); in test_lpm_perf()
[all …]
H A Dtest_fib_perf.c330 uint64_t begin, total_time; in test_fib_perf() local
349 begin = rte_rdtsc(); in test_fib_perf()
357 total_time = rte_rdtsc() - begin; in test_fib_perf()
376 begin = rte_rdtsc(); in test_fib_perf()
386 total_time += rte_rdtsc() - begin; in test_fib_perf()
394 begin = rte_rdtsc(); in test_fib_perf()
401 total_time += rte_rdtsc() - begin; in test_fib_perf()
H A Dresource.c18 return r->end - r->begin; in resource_size()
41 size_t wlen = fwrite(r->begin + total, 1, goal - total, f); in resource_fwrite()
116 memcpy(p, res->begin, resource_size(res)); in resource_untar()
194 memcpy(p, res->begin, resource_size(res)); in resource_rm_by_tar()
H A Dresource.h34 const char *begin; /**< Start of resource data */ member
98 .begin = b, \
H A Dtest_hash_readwrite.c62 uint64_t begin, cycles; in test_hash_readwrite_worker() local
77 begin = rte_rdtsc_precise(); in test_hash_readwrite_worker()
112 cycles = rte_rdtsc_precise() - begin; in test_hash_readwrite_worker()
298 uint64_t begin, cycles; in test_rw_reader() local
301 begin = rte_rdtsc_precise(); in test_rw_reader()
315 cycles = rte_rdtsc_precise() - begin; in test_rw_reader()
326 uint64_t begin, cycles; in test_rw_writer() local
338 begin = rte_rdtsc_precise(); in test_rw_writer()
349 cycles = rte_rdtsc_precise() - begin; in test_rw_writer()
H A Dtest_mcslock.c73 uint64_t time_diff = 0, begin; in load_loop_fn() local
86 begin = rte_get_timer_cycles(); in load_loop_fn()
95 time_diff = rte_get_timer_cycles() - begin; in load_loop_fn()
H A Dtest_resource.c28 TEST_ASSERT(!strncmp("DPDK", r->begin, 4), in test_resource_dpdk()
29 "Unexpected payload: %.4s...", r->begin); in test_resource_dpdk()
H A Dtest_spinlock.c106 uint64_t time_diff = 0, begin; in load_loop_fn() local
116 begin = rte_get_timer_cycles(); in load_loop_fn()
124 time_diff = rte_get_timer_cycles() - begin; in load_loop_fn()
H A Dtest_ticketlock.c108 uint64_t time_diff = 0, begin; in load_loop_fn() local
118 begin = rte_rdtsc_precise(); in load_loop_fn()
127 time_diff = rte_rdtsc_precise() - begin; in load_loop_fn()
H A Dtest_hash_multiwriter.c57 uint64_t begin, cycles; in test_hash_multiwriter_worker() local
76 begin = rte_rdtsc_precise(); in test_hash_multiwriter_worker()
86 cycles = rte_rdtsc_precise() - begin; in test_hash_multiwriter_worker()
/f-stack/freebsd/libkern/
H A Dmemcchr.c60 memcchr(const void *begin, int c, size_t n) in memcchr() argument
83 lp = (const unsigned long *)((uintptr_t)begin & ~LONGPTR_MASK); in memcchr()
84 end = (const unsigned char *)begin + n; in memcchr()
86 for (p = begin; p < (const unsigned char *)lp;) in memcchr()
/f-stack/app/micro_thread/
H A Dmt_concurrent.cpp41 for (IMtActList::iterator it = req_list.begin(); it != req_list.end(); ++it) in mt_multi_netfd_poll()
99 for (IMtActList::iterator it = req_list.begin(); it != req_list.end(); ++it) in mt_multi_newsock()
164 for (it = req_list.begin(); it != req_list.end(); ++it) in mt_multi_open()
199 for (IMtActList::iterator it = wait_list.begin(); it != wait_list.end(); ++it) in mt_multi_open()
239 for (IMtActList::iterator it = req_list.begin(); it != req_list.end(); ++it) in mt_multi_sendto()
281 for (IMtActList::iterator it = wait_list.begin(); it != wait_list.end(); ++it) in mt_multi_sendto()
322 for (IMtActList::iterator it = req_list.begin(); it != req_list.end(); ++it) in mt_multi_recvfrom()
365 for (IMtActList::iterator it = wait_list.begin(); it != wait_list.end(); ++it) in mt_multi_recvfrom()
429 for (IMtActList::iterator it = req_list.begin(); it != req_list.end(); ++it) in mt_msg_sendrcv()
450 for (IMtActList::iterator it = req_list.begin(); it != req_list.end(); ++it) in mt_msg_sendrcv()
[all …]
/f-stack/freebsd/contrib/zstd/lib/dictBuilder/
H A Dfastcover.c149 U32 *freqs, U32 begin, U32 end, in FASTCOVER_selectSegment() argument
164 activeSegment.begin = begin; in FASTCOVER_selectSegment()
165 activeSegment.end = begin; in FASTCOVER_selectSegment()
183 if (activeSegment.end - activeSegment.begin == dmersInK + 1) { in FASTCOVER_selectSegment()
192 activeSegment.begin += 1; in FASTCOVER_selectSegment()
202 while (activeSegment.begin < end) { in FASTCOVER_selectSegment()
203 const size_t delIndex = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.begin, f, d); in FASTCOVER_selectSegment()
205 activeSegment.begin += 1; in FASTCOVER_selectSegment()
211 for (pos = bestSegment.begin; pos != bestSegment.end; ++pos) { in FASTCOVER_selectSegment()
431 segmentSize = MIN(segment.end - segment.begin + parameters.d - 1, tail); in FASTCOVER_buildDictionary()
[all …]
H A Dcover.c419 activeSegment.begin = begin; in COVER_selectSegment()
420 activeSegment.end = begin; in COVER_selectSegment()
442 if (activeSegment.end - activeSegment.begin == dmersInK + 1) { in COVER_selectSegment()
443 U32 delDmer = ctx->dmerAt[activeSegment.begin]; in COVER_selectSegment()
445 activeSegment.begin += 1; in COVER_selectSegment()
462 U32 newEnd = bestSegment.begin; in COVER_selectSegment()
464 for (pos = bestSegment.begin; pos != bestSegment.end; ++pos) { in COVER_selectSegment()
471 bestSegment.begin = newBegin; in COVER_selectSegment()
477 for (pos = bestSegment.begin; pos != bestSegment.end; ++pos) { in COVER_selectSegment()
710 segmentSize = MIN(segment.end - segment.begin + parameters.d - 1, tail); in COVER_buildDictionary()
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_missing_003_pos.ksh175 typeset -i begin
180 (( begin = $GROUP_NUM - overlap ))
182 (( num = begin ))
/f-stack/dpdk/examples/qos_sched/
H A Dcfg_file.c367 int begin, end; in cfg_load_subport() local
373 begin = atoi(tokens[0]); in cfg_load_subport()
377 end = begin; in cfg_load_subport()
379 if (end >= MAX_SCHED_PIPES || begin > end) in cfg_load_subport()
382 for (k = begin; k <= end; k++) { in cfg_load_subport()
/f-stack/freebsd/contrib/ngatm/netnatm/sig/
H A Dgenmsgcpyh.awk33 function begin() { function
H A Dgenmsgcpyc.awk33 function begin() { function
/f-stack/freebsd/contrib/ngatm/netnatm/msg/
H A Dgenieh.awk33 function begin() { function
/f-stack/app/redis-5.0.5/deps/jemalloc/
H A D.autom4te.cfg1 begin-language: "Autoconf-without-aclocal-m4"
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_object_range_pos.ksh42 begin=$2
47 if [[ $obj -ge $begin && $obj -le $end ]] ; then

123