Lines Matching defs:hrestime
422 * Similar to gethrestime(), but gethrestime_sec() returns current hrestime
428 retl ! %o0 current hrestime seconds
433 * Returns the hrestime on the last tick. This is simpler than gethrestime()
446 ldn [%o1 + %lo(hrestime)], %g1 ! Seconds.
447 add %o1, %lo(hrestime), %o4
520 sethi %hi(hrestime), %l4
580 or %l4, %lo(hrestime), %l2
581 ldn [%l2], %i2 ! %i2:%i3 = hrestime sec:nsec
583 add %i3, %l5, %i3 ! hrestime.nsec += adj
584 add %i3, %i1, %i3 ! hrestime.nsec += nslt
588 bl,pt %xcc, 5f ! if hrestime.tv_nsec < NANOSEC
590 add %i2, 0x1, %i2 ! hrestime.tv_sec++
591 sub %i3, %l5, %i3 ! hrestime.tv_nsec - NANOSEC
596 stn %i3, [%l2 + CLONGSIZE] ! store the new hrestime
740 volatile timestruc_t hrestime;
758 .global timedelta, hres_last_tick, hrestime, hrestime_adj
768 hrestime: