Searched refs:tod_ns (Results 1 – 6 of 6) sorted by relevance
122 u64 tod_ns; member
925 data64 = &ff->ph->env.clock.tod_ns; in write_clock_data()1659 struct timeval tod_ns; in print_clock_data() local1670 ref = ff->ph->env.clock.tod_ns; in print_clock_data()1671 tod_ns.tv_sec = ref / NSEC_PER_SEC; in print_clock_data()1672 ref -= tod_ns.tv_sec * NSEC_PER_SEC; in print_clock_data()1673 tod_ns.tv_usec = ref / NSEC_PER_USEC; in print_clock_data()1683 if (localtime_r(&tod_ns.tv_sec, <ime) == NULL) in print_clock_data()1688 date, (int) tod_ns.tv_usec); in print_clock_data()1693 tstr, (long) tod_ns.tv_sec, (int) tod_ns.tv_usec, in print_clock_data()2954 ff->ph->env.clock.tod_ns = data64; in process_clock_data()
262 "%" PRIu64, header->env.clock.tod_ns); in output_headers()
1405 offset = env->clock.tod_ns - env->clock.clockid_ns; in ctf_writer__setup_clock()
676 u64 tod_ns, clockid_ns; in tod_scnprintf() local694 tod_ns = env->clock.tod_ns; in tod_scnprintf()697 tod_ns += timestamp - clockid_ns; in tod_scnprintf()699 tod_ns -= clockid_ns - timestamp; in tod_scnprintf()701 sec = (time_t) (tod_ns / NSEC_PER_SEC); in tod_scnprintf()702 nsec = tod_ns - sec * NSEC_PER_SEC; in tod_scnprintf()
1576 session->header.env.clock.tod_ns = ref; in record__init_clock()
Completed in 26 milliseconds