Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/util/
Denv.h105 u64 tod_ns; member
Dheader.c921 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, &ltime) == 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.tv_usec, in print_clock_data()
2846 ff->ph->env.clock.tod_ns = data64; in process_clock_data()
Ddata-convert-bt.c1405 offset = env->clock.tod_ns - env->clock.clockid_ns; in ctf_writer__setup_clock()
/Linux-v5.10/tools/perf/
Dbuiltin-script.c634 u64 tod_ns, clockid_ns; in tod_scnprintf() local
652 tod_ns = env->clock.tod_ns; in tod_scnprintf()
655 tod_ns += timestamp - clockid_ns; in tod_scnprintf()
657 tod_ns -= clockid_ns - timestamp; in tod_scnprintf()
659 sec = (time_t) (tod_ns / NSEC_PER_SEC); in tod_scnprintf()
660 nsec = tod_ns - sec * NSEC_PER_SEC; in tod_scnprintf()
Dbuiltin-record.c1587 session->header.env.clock.tod_ns = ref; in record__init_clock()