/dports/net/p5-Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40008/ |
H A D | amqp_time.c | 106 uint64_t delta_ns; in amqp_time_from_now() local 131 time->time_point_ns = now_ns + delta_ns; in amqp_time_from_now() 141 uint64_t delta_ns; in amqp_time_s_from_now() local 154 delta_ns = (uint64_t)seconds * AMQP_NS_PER_S; in amqp_time_s_from_now() 155 time->time_point_ns = now_ns + delta_ns; in amqp_time_s_from_now() 177 uint64_t delta_ns; in amqp_time_ms_until() local 196 delta_ns = time.time_point_ns - now_ns; in amqp_time_ms_until() 197 left_ms = (int)(delta_ns / AMQP_NS_PER_MS); in amqp_time_ms_until() 205 uint64_t delta_ns; in amqp_time_tv_until() local 231 delta_ns = time.time_point_ns - now_ns; in amqp_time_tv_until() [all …]
|
/dports/net/rabbitmq-c/rabbitmq-c-0.11.0/librabbitmq/ |
H A D | amqp_time.c | 106 uint64_t delta_ns; in amqp_time_from_now() local 127 time->time_point_ns = now_ns + delta_ns; in amqp_time_from_now() 137 uint64_t delta_ns; in amqp_time_s_from_now() local 150 delta_ns = (uint64_t)seconds * AMQP_NS_PER_S; in amqp_time_s_from_now() 151 time->time_point_ns = now_ns + delta_ns; in amqp_time_s_from_now() 167 uint64_t delta_ns; in amqp_time_ms_until() local 186 delta_ns = time.time_point_ns - now_ns; in amqp_time_ms_until() 187 left_ms = (int)(delta_ns / AMQP_NS_PER_MS); in amqp_time_ms_until() 195 uint64_t delta_ns; in amqp_time_tv_until() local 221 delta_ns = time.time_point_ns - now_ns; in amqp_time_tv_until() [all …]
|
/dports/net/rabbitmq-c-devel/rabbitmq-c-0.10.0/librabbitmq/ |
H A D | amqp_time.c | 106 uint64_t delta_ns; in amqp_time_from_now() local 131 time->time_point_ns = now_ns + delta_ns; in amqp_time_from_now() 141 uint64_t delta_ns; in amqp_time_s_from_now() local 154 delta_ns = (uint64_t)seconds * AMQP_NS_PER_S; in amqp_time_s_from_now() 155 time->time_point_ns = now_ns + delta_ns; in amqp_time_s_from_now() 177 uint64_t delta_ns; in amqp_time_ms_until() local 196 delta_ns = time.time_point_ns - now_ns; in amqp_time_ms_until() 197 left_ms = (int)(delta_ns / AMQP_NS_PER_MS); in amqp_time_ms_until() 205 uint64_t delta_ns; in amqp_time_tv_until() local 231 delta_ns = time.time_point_ns - now_ns; in amqp_time_tv_until() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/include/trace/events/ |
H A D | nmi.h | 13 TP_PROTO(void *handler, s64 delta_ns, int handled), 15 TP_ARGS(handler, delta_ns, handled), 19 __field( s64, delta_ns) 25 __entry->delta_ns = delta_ns; 31 __entry->delta_ns,
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/trace/events/ |
H A D | nmi.h | 13 TP_PROTO(void *handler, s64 delta_ns, int handled), 15 TP_ARGS(handler, delta_ns, handled), 19 __field( s64, delta_ns) 25 __entry->delta_ns = delta_ns; 31 __entry->delta_ns,
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/trace/events/ |
H A D | nmi.h | 13 TP_PROTO(void *handler, s64 delta_ns, int handled), 15 TP_ARGS(handler, delta_ns, handled), 19 __field( s64, delta_ns) 25 __entry->delta_ns = delta_ns; 31 __entry->delta_ns,
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_clock.c | 60 s64 delta_ns; in check_tsc_msr_rdtsc() local 75 delta_ns = ((t2 - t1) * 100) - ((r2 - r1) * 1000000000 / tsc_freq); in check_tsc_msr_rdtsc() 76 if (delta_ns < 0) in check_tsc_msr_rdtsc() 77 delta_ns = -delta_ns; in check_tsc_msr_rdtsc() 80 GUEST_ASSERT(delta_ns * 100 < (t2 - t1) * 100); in check_tsc_msr_rdtsc() 185 s64 delta_ns; in host_check_tsc_msr_rdtsc() local 200 delta_ns = ((t2 - t1) * 100) - ((r2 - r1) * 1000000000 / tsc_freq); in host_check_tsc_msr_rdtsc() 201 if (delta_ns < 0) in host_check_tsc_msr_rdtsc() 202 delta_ns = -delta_ns; in host_check_tsc_msr_rdtsc() 205 TEST_ASSERT(delta_ns * 100 < (t2 - t1) * 100, in host_check_tsc_msr_rdtsc()
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_clock.c | 60 s64 delta_ns; in check_tsc_msr_rdtsc() local 75 delta_ns = ((t2 - t1) * 100) - ((r2 - r1) * 1000000000 / tsc_freq); in check_tsc_msr_rdtsc() 76 if (delta_ns < 0) in check_tsc_msr_rdtsc() 77 delta_ns = -delta_ns; in check_tsc_msr_rdtsc() 80 GUEST_ASSERT(delta_ns * 100 < (t2 - t1) * 100); in check_tsc_msr_rdtsc() 185 s64 delta_ns; in host_check_tsc_msr_rdtsc() local 200 delta_ns = ((t2 - t1) * 100) - ((r2 - r1) * 1000000000 / tsc_freq); in host_check_tsc_msr_rdtsc() 201 if (delta_ns < 0) in host_check_tsc_msr_rdtsc() 202 delta_ns = -delta_ns; in host_check_tsc_msr_rdtsc() 205 TEST_ASSERT(delta_ns * 100 < (t2 - t1) * 100, in host_check_tsc_msr_rdtsc()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_clock.c | 60 s64 delta_ns; in check_tsc_msr_rdtsc() local 75 delta_ns = ((t2 - t1) * 100) - ((r2 - r1) * 1000000000 / tsc_freq); in check_tsc_msr_rdtsc() 76 if (delta_ns < 0) in check_tsc_msr_rdtsc() 77 delta_ns = -delta_ns; in check_tsc_msr_rdtsc() 80 GUEST_ASSERT(delta_ns * 100 < (t2 - t1) * 100); in check_tsc_msr_rdtsc() 185 s64 delta_ns; in host_check_tsc_msr_rdtsc() local 200 delta_ns = ((t2 - t1) * 100) - ((r2 - r1) * 1000000000 / tsc_freq); in host_check_tsc_msr_rdtsc() 201 if (delta_ns < 0) in host_check_tsc_msr_rdtsc() 202 delta_ns = -delta_ns; in host_check_tsc_msr_rdtsc() 205 TEST_ASSERT(delta_ns * 100 < (t2 - t1) * 100, in host_check_tsc_msr_rdtsc()
|
/dports/multimedia/libv4l/linux-5.13-rc2/Documentation/trace/ |
H A D | events-nmi.rst | 32 to the filter is in nanoseconds! You can filter on 'delta_ns':: 35 echo 'handler==0xffffffff81625600 && delta_ns>1000000' > filter 41 …<idle>-0 [000] d.h3 505.397558: nmi_handler: perf_event_nmi_handler() delta_ns: 3236765 hand… 42 …<idle>-0 [000] d.h3 505.805893: nmi_handler: perf_event_nmi_handler() delta_ns: 3174234 hand… 43 …<idle>-0 [000] d.h3 506.158206: nmi_handler: perf_event_nmi_handler() delta_ns: 3084642 hand… 44 …<idle>-0 [000] d.h3 506.334346: nmi_handler: perf_event_nmi_handler() delta_ns: 3080351 hand…
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/Documentation/trace/ |
H A D | events-nmi.rst | 32 to the filter is in nanoseconds! You can filter on 'delta_ns':: 35 echo 'handler==0xffffffff81625600 && delta_ns>1000000' > filter 41 …<idle>-0 [000] d.h3 505.397558: nmi_handler: perf_event_nmi_handler() delta_ns: 3236765 hand… 42 …<idle>-0 [000] d.h3 505.805893: nmi_handler: perf_event_nmi_handler() delta_ns: 3174234 hand… 43 …<idle>-0 [000] d.h3 506.158206: nmi_handler: perf_event_nmi_handler() delta_ns: 3084642 hand… 44 …<idle>-0 [000] d.h3 506.334346: nmi_handler: perf_event_nmi_handler() delta_ns: 3080351 hand…
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/Documentation/trace/ |
H A D | events-nmi.rst | 32 to the filter is in nanoseconds! You can filter on 'delta_ns':: 35 echo 'handler==0xffffffff81625600 && delta_ns>1000000' > filter 41 …<idle>-0 [000] d.h3 505.397558: nmi_handler: perf_event_nmi_handler() delta_ns: 3236765 hand… 42 …<idle>-0 [000] d.h3 505.805893: nmi_handler: perf_event_nmi_handler() delta_ns: 3174234 hand… 43 …<idle>-0 [000] d.h3 506.158206: nmi_handler: perf_event_nmi_handler() delta_ns: 3084642 hand… 44 …<idle>-0 [000] d.h3 506.334346: nmi_handler: perf_event_nmi_handler() delta_ns: 3080351 hand…
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/timers/ |
H A D | alarmtimer-suspend.c | 99 long long delta_ns; in sigalarm() local 105 delta_ns = timespec_sub(start_time, ts); in sigalarm() 106 delta_ns -= NSEC_PER_SEC * SUSPEND_SECS * alarmcount; in sigalarm() 109 ts.tv_nsec, delta_ns); in sigalarm() 111 if (delta_ns > UNREASONABLE_LAT) { in sigalarm()
|
H A D | set-timer-lat.c | 99 long long delta_ns; in sigalarm() local 105 delta_ns = timespec_sub(start_time, ts); in sigalarm() 106 delta_ns -= NSEC_PER_SEC * TIMER_SECS * alarmcount; in sigalarm() 108 if (delta_ns < 0) in sigalarm() 111 if (delta_ns > max_latency_ns) in sigalarm() 112 max_latency_ns = delta_ns; in sigalarm()
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/timers/ |
H A D | alarmtimer-suspend.c | 99 long long delta_ns; in sigalarm() local 105 delta_ns = timespec_sub(start_time, ts); in sigalarm() 106 delta_ns -= NSEC_PER_SEC * SUSPEND_SECS * alarmcount; in sigalarm() 109 ts.tv_nsec, delta_ns); in sigalarm() 111 if (delta_ns > UNREASONABLE_LAT) { in sigalarm()
|
H A D | set-timer-lat.c | 99 long long delta_ns; in sigalarm() local 105 delta_ns = timespec_sub(start_time, ts); in sigalarm() 106 delta_ns -= NSEC_PER_SEC * TIMER_SECS * alarmcount; in sigalarm() 108 if (delta_ns < 0) in sigalarm() 111 if (delta_ns > max_latency_ns) in sigalarm() 112 max_latency_ns = delta_ns; in sigalarm()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/timers/ |
H A D | alarmtimer-suspend.c | 99 long long delta_ns; in sigalarm() local 105 delta_ns = timespec_sub(start_time, ts); in sigalarm() 106 delta_ns -= NSEC_PER_SEC * SUSPEND_SECS * alarmcount; in sigalarm() 109 ts.tv_nsec, delta_ns); in sigalarm() 111 if (delta_ns > UNREASONABLE_LAT) { in sigalarm()
|
H A D | set-timer-lat.c | 99 long long delta_ns; in sigalarm() local 105 delta_ns = timespec_sub(start_time, ts); in sigalarm() 106 delta_ns -= NSEC_PER_SEC * TIMER_SECS * alarmcount; in sigalarm() 108 if (delta_ns < 0) in sigalarm() 111 if (delta_ns > max_latency_ns) in sigalarm() 112 max_latency_ns = delta_ns; in sigalarm()
|
/dports/benchmarks/stress-ng/stress-ng-0.13.09/ |
H A D | stress-cyclic.c | 138 int64_t delta_ns; in stress_cyclic_stats() local 142 delta_ns -= cyclic_sleep; in stress_cyclic_stats() 145 rt_stats->latencies[rt_stats->index++] = delta_ns; in stress_cyclic_stats() 147 rt_stats->ns += (double)delta_ns; in stress_cyclic_stats() 229 int64_t delta_ns; in stress_cyclic_poll() local 235 if (delta_ns >= (int64_t)cyclic_sleep) { in stress_cyclic_poll() 236 delta_ns -= cyclic_sleep; in stress_cyclic_poll() 241 rt_stats->ns += (double)delta_ns; in stress_cyclic_poll() 300 int64_t delta_ns; in stress_cyclic_itimer() local 331 delta_ns -= cyclic_sleep; in stress_cyclic_itimer() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/ |
H A D | bench.c | 53 void hits_drops_report_progress(int iter, struct bench_res *res, long delta_ns) in hits_drops_report_progress() argument 58 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress() 60 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress() 63 iter, (delta_ns - 1000000000) / 1000.0); in hits_drops_report_progress() 228 static void collect_measurements(long delta_ns); 234 long delta_ns = new_time_ns - last_time_ns; in sigalarm_handler() local 236 collect_measurements(delta_ns); in sigalarm_handler() 420 static void collect_measurements(long delta_ns) { in collect_measurements() argument 427 bench->report_progress(iter, res, delta_ns); in collect_measurements()
|
H A D | bench.h | 45 void (*report_progress)(int iter, struct bench_res* res, long delta_ns); 57 void hits_drops_report_progress(int iter, struct bench_res *res, long delta_ns);
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/ |
H A D | bench.c | 53 void hits_drops_report_progress(int iter, struct bench_res *res, long delta_ns) in hits_drops_report_progress() argument 58 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress() 60 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress() 63 iter, (delta_ns - 1000000000) / 1000.0); in hits_drops_report_progress() 228 static void collect_measurements(long delta_ns); 234 long delta_ns = new_time_ns - last_time_ns; in sigalarm_handler() local 236 collect_measurements(delta_ns); in sigalarm_handler() 420 static void collect_measurements(long delta_ns) { in collect_measurements() argument 427 bench->report_progress(iter, res, delta_ns); in collect_measurements()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/ |
H A D | bench.c | 53 void hits_drops_report_progress(int iter, struct bench_res *res, long delta_ns) in hits_drops_report_progress() argument 58 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress() 60 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0); in hits_drops_report_progress() 63 iter, (delta_ns - 1000000000) / 1000.0); in hits_drops_report_progress() 228 static void collect_measurements(long delta_ns); 234 long delta_ns = new_time_ns - last_time_ns; in sigalarm_handler() local 236 collect_measurements(delta_ns); in sigalarm_handler() 420 static void collect_measurements(long delta_ns) { in collect_measurements() argument 427 bench->report_progress(iter, res, delta_ns); in collect_measurements()
|
/dports/x11/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0/src/core/ |
H A D | timespec_util.c | 4 void timespec_add(struct timespec *t, int64_t delta_ns) { in timespec_add() argument 5 int delta_ns_low = delta_ns % TIMESPEC_NSEC_PER_SEC; in timespec_add() 6 int delta_s_high = delta_ns / TIMESPEC_NSEC_PER_SEC; in timespec_add()
|
/dports/misc/perkeep/perkeep-0.11/vendor/github.com/cznic/fileutil/ |
H A D | fileutil.go | 26 func NewGoMFile(fname string, flag int, perm os.FileMode, delta_ns int64) (m *GoMFile, err error) { 28 if m.mfile, err = NewMFile(fname, flag, perm, delta_ns); err != nil { 72 func NewMFile(fname string, flag int, perm os.FileMode, delta_ns int64) (m *MFile, err error) { 85 m.delta = delta_ns
|