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

/linux-master/tools/perf/util/
H A Denv.h133 u64 tod_ns; member in struct:perf_env::__anon1599
H A Ddata-convert-json.c300 "%" PRIu64, header->env.clock.tod_ns);
H A Ddata-convert-bt.c1411 offset = env->clock.tod_ns - env->clock.clockid_ns;
H A Dheader.c929 data64 = &ff->ph->env.clock.tod_ns;
1772 struct timeval tod_ns; local
1783 ref = ff->ph->env.clock.tod_ns;
1784 tod_ns.tv_sec = ref / NSEC_PER_SEC;
1785 ref -= tod_ns.tv_sec * NSEC_PER_SEC;
1786 tod_ns.tv_usec = ref / NSEC_PER_USEC;
1796 if (localtime_r(&tod_ns.tv_sec, &ltime) == NULL)
1801 date, (int) tod_ns.tv_usec);
1806 tstr, (long) tod_ns.tv_sec, (int) tod_ns
[all...]
/linux-master/tools/perf/
H A Dbuiltin-script.c718 u64 tod_ns, clockid_ns; local
736 tod_ns = env->clock.tod_ns;
739 tod_ns += timestamp - clockid_ns;
741 tod_ns -= clockid_ns - timestamp;
743 sec = (time_t) (tod_ns / NSEC_PER_SEC);
744 nsec = tod_ns - sec * NSEC_PER_SEC;
H A Dbuiltin-record.c2227 session->header.env.clock.tod_ns = ref;

Completed in 310 milliseconds