Lines Matching defs:snap
134 dtrace_hrestime_t snap;
139 snap.dthr_lock = dtrace_hrestime[i].dthr_lock;
141 snap.dthr_hrestime = dtrace_hrestime[i].dthr_hrestime;
142 snap.dthr_hrtime = dtrace_hrestime[i].dthr_hrtime;
143 snap.dthr_adj = dtrace_hrestime[i].dthr_adj;
146 if ((snap.dthr_lock & ~1) == dtrace_hrestime[i].dthr_lock)
162 nslt = dtrace_gethrtime() - snap.dthr_hrtime;
165 now = ((hrtime_t)snap.dthr_hrestime.tv_sec * (hrtime_t)NANOSEC) +
166 snap.dthr_hrestime.tv_nsec;
168 if (snap.dthr_adj != 0) {
169 if (snap.dthr_adj > 0) {
171 if (adj > snap.dthr_adj)
172 adj = (int)snap.dthr_adj;
175 if (adj < snap.dthr_adj)
176 adj = (int)snap.dthr_adj;