Lines Matching defs:hrestime
576 * Similar to gethrestime(), but gethrestime_sec() returns current hrestime
582 retl ! %o0 current hrestime seconds
587 * Returns the hrestime on the last tick. This is simpler than gethrestime()
600 ldn [%o1 + %lo(hrestime)], %g1 ! Seconds.
601 add %o1, %lo(hrestime), %o4
674 sethi %hi(hrestime), %l4
734 or %l4, %lo(hrestime), %l2
735 ldn [%l2], %i2 ! %i2:%i3 = hrestime sec:nsec
737 add %i3, %l5, %i3 ! hrestime.nsec += adj
738 add %i3, %i1, %i3 ! hrestime.nsec += nslt
742 bl,pt %xcc, 5f ! if hrestime.tv_nsec < NANOSEC
744 add %i2, 0x1, %i2 ! hrestime.tv_sec++
745 sub %i3, %l5, %i3 ! hrestime.tv_nsec - NANOSEC
750 stn %i3, [%l2 + CLONGSIZE] ! store the new hrestime
894 volatile timestruc_t hrestime;
912 .global timedelta, hres_last_tick, hrestime, hrestime_adj
922 hrestime: