Lines Matching defs:ts
1850 timestruc_t ts;
1855 ts = tod_get();
1857 if (ts.tv_sec > 365 * SECONDS_PER_DAY) {
1865 if (approx != -1 && approx > ts.tv_sec) {
1879 ts.tv_sec = (approx > diagnose_date ? approx : diagnose_date);
1880 ts.tv_nsec = 0;
1887 tod_set(ts);
1891 if (tmp.tv_sec != ts.tv_sec && tmp.tv_sec != ts.tv_sec + 1) {
1903 boot_time = ts.tv_sec;
1908 set_hrestime(&ts);
1916 set_hrestime(timestruc_t *ts)
1919 hrestime = *ts;
2138 tod_set_prev(timestruc_t ts)
2150 prev_set_tod = ts.tv_sec < 0 ? 0 : ts.tv_sec;
2442 hrtime_t ts, exp;
2449 ts = gethrtime();
2450 lb_info->lbi_internal = (ts/nsec_per_tick);
2455 exp = ts + nsec_per_tick - 1;
2476 hrtime_t ts;
2480 ts = gethrtime();
2481 ASSERT(ts > 0);
2484 lb = (ts/nsec_per_tick);
2652 hrtime_t ts;
2658 ts = gethrtime();
2659 lb_info->lbi_internal = (ts/nsec_per_tick);
2661 ((ts - lb_info->lbi_debug_ts)/nsec_per_tick);