Lines Matching refs:ts_delta
122 int64_t ts_delta = timespec_to_ns64(t_end) - timespec_to_ns64(t_start); in add_timing_event() local
125 if (ts_delta < te->min) in add_timing_event()
126 te->min = ts_delta; in add_timing_event()
127 if (ts_delta > te->max) in add_timing_event()
128 te->max = ts_delta; in add_timing_event()
129 te->total += ts_delta; in add_timing_event()
170 static void __print_ts_delta_formatted(int64_t ts_delta) in __print_ts_delta_formatted() argument
173 fprintf(stderr, "%" PRId64 " ns", ts_delta); in __print_ts_delta_formatted()
175 fprintf(stderr, "%" PRId64 " us", ts_delta / NSEC_PER_USEC); in __print_ts_delta_formatted()
181 int64_t ts_delta; in __print_timestamp() local
196 ts_delta = timespec_to_ns64(cur) - timespec_to_ns64(&ts_usr); in __print_timestamp()
198 __print_ts_delta_formatted(ts_delta); in __print_timestamp()