/kernel/linux/linux-6.6/kernel/time/ |
H A D | posix-cpu-timers.c | 44 u64 nsecs = rlim_new * NSEC_PER_SEC; in update_rlimit_cpu() local 49 set_process_cpu_timer(task, CPUCLOCK_PROF, &nsecs, NULL); in update_rlimit_cpu()
|
/kernel/linux/linux-5.10/drivers/base/power/ |
H A D | main.c | 223 s64 nsecs; in initcall_debug_report() local 229 nsecs = (s64) ktime_to_ns(ktime_sub(rettime, calltime)); in initcall_debug_report() 232 (unsigned long long)nsecs >> 10); in initcall_debug_report()
|
/kernel/linux/linux-5.10/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 811 unsigned long long nsecs = sample->time; in python_process_tracepoint() local 843 s = nsecs / NSEC_PER_SEC; in python_process_tracepoint() 844 ns = nsecs - s * NSEC_PER_SEC; in python_process_tracepoint() 1878 "event_name, cpu, secs, nsecs, pid, comm):\n" in python_generate_script() 1880 "(event_name, cpu, secs, nsecs, pid, comm), end=\"\")\n\n"); in python_generate_script()
|
/kernel/linux/linux-6.6/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 944 unsigned long long nsecs = sample->time; in python_process_tracepoint() local 979 s = nsecs / NSEC_PER_SEC; in python_process_tracepoint() 980 ns = nsecs - s * NSEC_PER_SEC; in python_process_tracepoint() 2178 "event_name, cpu, secs, nsecs, pid, comm):\n" in python_generate_script() 2180 "(event_name, cpu, secs, nsecs, pid, comm), end=\"\")\n\n"); in python_generate_script()
|
/kernel/linux/linux-5.10/block/ |
H A D | blk-mq.c | 3874 unsigned int nsecs; in blk_mq_poll_hybrid_sleep() local 3887 nsecs = q->poll_nsec; in blk_mq_poll_hybrid_sleep() 3889 nsecs = blk_mq_poll_nsecs(q, rq); in blk_mq_poll_hybrid_sleep() 3891 if (!nsecs) in blk_mq_poll_hybrid_sleep() 3900 kt = nsecs; in blk_mq_poll_hybrid_sleep()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-script.c | 699 unsigned long long nsecs; in perf_sample__fprintf_start() local 791 nsecs = t; in perf_sample__fprintf_start() 792 secs = nsecs / NSEC_PER_SEC; in perf_sample__fprintf_start() 793 nsecs -= secs * NSEC_PER_SEC; in perf_sample__fprintf_start() 796 printed += fprintf(fp, "%5lu.%09llu: ", secs, nsecs); in perf_sample__fprintf_start()
|
/third_party/libbpf/src/ |
H A D | bpf_helper_defs.h | 4056 static long (*bpf_timer_start)(struct bpf_timer *timer, __u64 nsecs, __u64 flags) = (void *) 171;
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | trampoline.c | 880 u64_stats_add(&stats->nsecs, sched_clock() - start); in update_prog_stats()
|
H A D | helpers.c | 1277 BPF_CALL_3(bpf_timer_start, struct bpf_timer_kern *, timer, u64, nsecs, u64, flags) in BPF_CALL_3() 1299 hrtimer_start(&t->timer, ns_to_ktime(nsecs), mode); in BPF_CALL_3()
|
/kernel/linux/linux-6.6/block/ |
H A D | blk-core.c | 996 part_stat_add(bdev, nsecs[sgrp], jiffies_to_nsecs(duration)); in bdev_end_io_acct()
|
H A D | blk-mq.c | 1001 part_stat_add(req->part, nsecs[sgrp], now - req->start_time_ns); in blk_account_io_done()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-script.c | 781 unsigned long long nsecs; in perf_sample__fprintf_start() local 880 nsecs = t; in perf_sample__fprintf_start() 881 secs = nsecs / NSEC_PER_SEC; in perf_sample__fprintf_start() 882 nsecs -= secs * NSEC_PER_SEC; in perf_sample__fprintf_start() 885 printed += fprintf(fp, "%5lu.%09llu: ", secs, nsecs); in perf_sample__fprintf_start()
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace.h | 810 extern unsigned long nsecs_to_usecs(unsigned long nsecs);
|
H A D | trace.c | 1525 unsigned long nsecs_to_usecs(unsigned long nsecs) in nsecs_to_usecs() argument 1527 return nsecs / 1000; in nsecs_to_usecs()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | filter.h | 585 __stats->nsecs += sched_clock() - __start; \
|
H A D | bpf.h | 569 u64 nsecs; member
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace.h | 693 extern unsigned long nsecs_to_usecs(unsigned long nsecs);
|
H A D | trace.c | 1572 unsigned long nsecs_to_usecs(unsigned long nsecs) in nsecs_to_usecs() argument 1574 return nsecs / 1000; in nsecs_to_usecs()
|