Searched refs:tod_ns (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | env.h | 105 u64 tod_ns; member
|
H A D | data-convert-bt.c | 1405 offset = env->clock.tod_ns - env->clock.clockid_ns; in ctf_writer__setup_clock()
|
H A D | header.c | 921 data64 = &ff->ph->env.clock.tod_ns; in write_clock_data() 1591 struct timeval tod_ns; in print_clock_data() local 1602 ref = ff->ph->env.clock.tod_ns; in print_clock_data() 1603 tod_ns.tv_sec = ref / NSEC_PER_SEC; in print_clock_data() 1604 ref -= tod_ns.tv_sec * NSEC_PER_SEC; in print_clock_data() 1605 tod_ns.tv_usec = ref / NSEC_PER_USEC; in print_clock_data() 1615 if (localtime_r(&tod_ns.tv_sec, <ime) == NULL) in print_clock_data() 1620 date, (int) tod_ns.tv_usec); in print_clock_data() 1625 tstr, tod_ns.tv_sec, (int) tod_ns in print_clock_data() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | env.h | 123 u64 tod_ns; member
|
H A D | data-convert-json.c | 298 "%" PRIu64, header->env.clock.tod_ns); in output_headers()
|
H A D | data-convert-bt.c | 1411 offset = env->clock.tod_ns - env->clock.clockid_ns; in ctf_writer__setup_clock()
|
H A D | header.c | 929 data64 = &ff->ph->env.clock.tod_ns; in write_clock_data() 1772 struct timeval tod_ns; in print_clock_data() local 1783 ref = ff->ph->env.clock.tod_ns; in print_clock_data() 1784 tod_ns.tv_sec = ref / NSEC_PER_SEC; in print_clock_data() 1785 ref -= tod_ns.tv_sec * NSEC_PER_SEC; in print_clock_data() 1786 tod_ns.tv_usec = ref / NSEC_PER_USEC; in print_clock_data() 1796 if (localtime_r(&tod_ns.tv_sec, <ime) == NULL) in print_clock_data() 1801 date, (int) tod_ns.tv_usec); in print_clock_data() 1806 tstr, (long) tod_ns.tv_sec, (int) tod_ns in print_clock_data() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-script.c | 633 u64 tod_ns, clockid_ns; in tod_scnprintf() local 651 tod_ns = env->clock.tod_ns; in tod_scnprintf() 654 tod_ns += timestamp - clockid_ns; in tod_scnprintf() 656 tod_ns -= clockid_ns - timestamp; in tod_scnprintf() 658 sec = (time_t) (tod_ns / NSEC_PER_SEC); in tod_scnprintf() 659 nsec = tod_ns - sec * NSEC_PER_SEC; in tod_scnprintf()
|
H A D | builtin-record.c | 1587 session->header.env.clock.tod_ns = ref; in record__init_clock()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-script.c | 715 u64 tod_ns, clockid_ns; in tod_scnprintf() local 733 tod_ns = env->clock.tod_ns; in tod_scnprintf() 736 tod_ns += timestamp - clockid_ns; in tod_scnprintf() 738 tod_ns -= clockid_ns - timestamp; in tod_scnprintf() 740 sec = (time_t) (tod_ns / NSEC_PER_SEC); in tod_scnprintf() 741 nsec = tod_ns - sec * NSEC_PER_SEC; in tod_scnprintf()
|
H A D | builtin-record.c | 2168 session->header.env.clock.tod_ns = ref; in record__init_clock()
|
Completed in 31 milliseconds