Searched refs:hrestime (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodstarcat.c97 hrestime.tv_sec = (time_t)ssc_time32;
118 if (TIMESPEC_OVERFLOW(&hrestime)) {
125 hrestime.tv_sec = (time_t)0;
164 * Starcat tod_get is simplified to return hrestime and to
176 return (hrestime);
200 if (abs(hrestime.tv_sec - ts.tv_sec) > TODSC_SET_THRESHOLD) {
H A Dtodopl.c103 * diff_delta = new time - current domain time (hrestime)
158 hrestime.tv_sec = obp_time;
163 if (TIMESPEC_OVERFLOW(&hrestime)) {
170 hrestime.tv_sec = (time_t)0;
209 * OPL tod_get is simplified to return hrestime
216 return (hrestime);
233 if (abs(ts.tv_sec - hrestime.tv_sec) > TODOPL_SET_THRESHOLD) {
238 prom_opl_set_diff(ts.tv_sec - hrestime.tv_sec);
H A Dtodsg.c118 hrestime.tv_sec = ssc_time;
127 if (TIMESPEC_OVERFLOW(&hrestime)) {
135 * By setting hrestime.tv_sec to zero
139 hrestime.tv_sec = (time_t)0;
314 * to sync the IOSRAM to hrestime when the SC comes back. We
318 * default action will be to sync hrestime to IOSRAM
323 skew_adjust = hrestime.tv_sec - (seconds + domain_skew);
338 * Hand back hrestime instead.
363 * the SC comes back up again. Note we will return hrestime below
367 return (hrestime);
[all...]
H A Dtodstarfire.c80 hrestime.tv_sec = (time_t)ssp_time32;
118 * Simply return hrestime value
129 ts = hrestime;
H A Dtodblade.c187 return (hrestime);
H A Dtodm5819.c162 return (hrestime);
H A Dtodm5819p_rmc.c180 return (hrestime);
H A Dtodds1337.c406 return (hrestime);
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachclock.h96 * (hrestime, hrestime_adj, hres_last_tick, timedelta, nsec_scale, etc)
104 * GET_HRESTIME() returns the value of hrestime, hrestime_adj and the
121 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\
122 add scr, %lo(hrestime), hrestnsec; \
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dcommon_asm.s576 * 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
922 hrestime: label
[all...]
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s422 * 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
768 hrestime: label
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dhardclk.c141 * return hrestime if we can't successfully get a value.
184 ts.tv_sec = tod_validate(hrestime.tv_sec);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachclock.h209 * (hrestime, hrestime_adj, hres_last_tick, timedelta, nsec_scale, etc)
217 * GET_HRESTIME() returns the value of hrestime, hrestime_adj and the
234 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\
235 add scr, %lo(hrestime), hrestnsec; \
/illumos-gate/usr/src/uts/sun4/cpu/
H A Dcpu_module.c36 volatile timestruc_t hrestime; variable
/illumos-gate/usr/src/uts/common/os/
H A Dclock.c677 if (hrestime.tv_sec % 86400 == 0) {
679 hrestime.tv_sec--;
686 if ((hrestime.tv_sec + 1) % 86400 == 0) {
688 hrestime.tv_sec++;
780 * hrestime without any interference from the tod chip.
786 drift = tod.tv_sec - hrestime.tv_sec;
793 hrestime = tod;
794 membar_enter(); /* hrestime visible */
1210 time_reftime = hrestime.tv_sec;
1212 mtemp = hrestime
[all...]
H A Dpanic.c168 timespec_t panic_hrestime; /* hrestime at time of panic */
289 panic_hrestime = hrestime;
H A Ddtrace_subr.c72 timestruc_t dthr_hrestime; /* hrestime value */
82 * the variables related to adjusted high-resolution time (hrestime,
111 tmp.dthr_hrestime = hrestime;
H A Dtimers.c724 if (TVTSCMP(valp, &hrestime, >))
/illumos-gate/usr/src/uts/intel/ia32/ml/
H A Di86_subr.s3594 volatile timestruc_t hrestime;
3601 DGDEF3(hrestime, _MUL(2, CLONGSIZE), 8)
3655 * and adjust hrtime_base and hrestime accordingly
3656 * hrtime_base is an 8 byte value (in nsec), hrestime is
3663 addq %r8, hrestime+8(%rip) /* add interval to hrestime.tv_nsec */
3711 * and adjust hrtime_base and hrestime accordingly
3712 * hrtime_base is an 8 byte value (in nsec), hrestime is
3727 addl %edx, hrestime+4 / add interval to hrestime
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dtodpc_subr.c182 return (hrestime);
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Darchdep.c1522 hrestime.tv_nsec += adj;
1524 while (hrestime.tv_nsec >= NANOSEC) {
1526 hrestime.tv_sec++;
1527 hrestime.tv_nsec -= NANOSEC;
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h344 extern volatile timestruc_t hrestime;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmachdep.c730 now = hrestime;
786 *tp = hrestime;
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_pcu.c740 hdr->dump_time = hrestime.tv_sec;
/illumos-gate/usr/src/uts/sun4u/snowbird/io/todds1307/
H A Dtodds1307.c384 return (hrestime);

Completed in 117 milliseconds

12