Home
last modified time | relevance | path

Searched refs:time_diff (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/tnf/
H A Dtrace_funcs.c104 hrtime_t curr_time, time_diff; in tnf_trace_alloc() local
204 time_diff = curr_time - sched->time_base; in tnf_trace_alloc()
205 if (!TIME_CHECK(time_diff)) in tnf_trace_alloc()
234 buffer->time_delta = tnf_time_delta(ops, (unsigned long)time_diff, in tnf_trace_alloc()
237 buffer->time_delta = tnf_time_delta(ops, (unsigned long)time_diff, in tnf_trace_alloc()
248 time_diff = 0; in tnf_trace_alloc()
/titanic_41/usr/src/lib/libtnfprobe/
H A Dtrace_funcs.c110 hrtime_t curr_time, time_diff; in tnf_trace_alloc() local
264 time_diff = curr_time - sched->time_base; in tnf_trace_alloc()
265 if (!TIME_CHECK(time_diff)) in tnf_trace_alloc()
285 buffer->time_delta = tnf_time_delta(ops, (unsigned long)time_diff, in tnf_trace_alloc()
299 time_diff = 0; in tnf_trace_alloc()
/titanic_41/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.c384 time_t time_diff = current_time - orig_time; in relativize_time() local
391 pkt_time = htonl(ntohl(pkt_time) - time_diff); in relativize_time()
409 time_t time_diff = current_time - orig_time; in relativize_v6() local
413 if (hval < time_diff) in relativize_v6()
416 *val = htonl(hval - time_diff); in relativize_v6()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_utils.c1619 ibcm_established(hrtime_t time_diff) in ibcm_established() argument
1621 if (time_diff > 1000000000LL) /* 1 second */ in ibcm_established()
1623 (uint_t)(time_diff >> 30)); in ibcm_established()
1631 hrtime_t time_diff; in ibcm_insert_trace() local
1660 time_diff = hrt - conn_trace->conn_base_tm; in ibcm_insert_trace()
1662 ibcm_established(time_diff); in ibcm_insert_trace()
1663 time_diff >>= 10; in ibcm_insert_trace()
1664 if (time_diff >= TM_DIFF_MAX) { in ibcm_insert_trace()
1667 time_diff = 0; in ibcm_insert_trace()
1669 conn_trace->conn_trace_event_times[conn_trace_ind] = time_diff; in ibcm_insert_trace()