Home
last modified time | relevance | path

Searched refs:tod_ns (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/tools/perf/util/
A Denv.h123 u64 tod_ns; member
A Dheader.c932 data64 = &ff->ph->env.clock.tod_ns; in write_clock_data()
1739 struct timeval tod_ns; in print_clock_data() local
1750 ref = ff->ph->env.clock.tod_ns; in print_clock_data()
1751 tod_ns.tv_sec = ref / NSEC_PER_SEC; in print_clock_data()
1752 ref -= tod_ns.tv_sec * NSEC_PER_SEC; in print_clock_data()
1753 tod_ns.tv_usec = ref / NSEC_PER_USEC; in print_clock_data()
1763 if (localtime_r(&tod_ns.tv_sec, &ltime) == NULL) in print_clock_data()
1768 date, (int) tod_ns.tv_usec); in print_clock_data()
1773 tstr, (long) tod_ns.tv_sec, (int) tod_ns.tv_usec, in print_clock_data()
3024 ff->ph->env.clock.tod_ns = data64; in process_clock_data()
A Ddata-convert-json.c290 "%" PRIu64, header->env.clock.tod_ns); in output_headers()
A Ddata-convert-bt.c1411 offset = env->clock.tod_ns - env->clock.clockid_ns; in ctf_writer__setup_clock()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-script.c706 u64 tod_ns, clockid_ns; in tod_scnprintf() local
724 tod_ns = env->clock.tod_ns; in tod_scnprintf()
727 tod_ns += timestamp - clockid_ns; in tod_scnprintf()
729 tod_ns -= clockid_ns - timestamp; in tod_scnprintf()
731 sec = (time_t) (tod_ns / NSEC_PER_SEC); in tod_scnprintf()
732 nsec = tod_ns - sec * NSEC_PER_SEC; in tod_scnprintf()
A Dbuiltin-record.c2160 session->header.env.clock.tod_ns = ref; in record__init_clock()

Completed in 35 milliseconds