Searched refs:t_intr_start (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | intr.c | 592 if ((t->t_flag & T_INTR_THREAD) != 0 && t->t_intr_start != 0) { in hilevel_intr_prolog() 593 intrtime = now - t->t_intr_start; in hilevel_intr_prolog() 596 t->t_intr_start = 0; in hilevel_intr_prolog() 703 t->t_intr_start = now; in hilevel_intr_epilog() 738 if ((t->t_flag & T_INTR_THREAD) && t->t_intr_start != 0) { in intr_thread_prolog() 739 hrtime_t intrtime = now - t->t_intr_start; in intr_thread_prolog() 742 t->t_intr_start = 0; in intr_thread_prolog() 774 it->t_intr_start = now; in intr_thread_prolog() 800 ASSERT(it->t_intr_start != 0); in intr_thread_epilog() 801 intrtime = now - it->t_intr_start; in intr_thread_epilog() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_intr.c | 257 if ((t->t_flag & T_INTR_THREAD) && t->t_intr_start != 0) { in apix_do_softint_prolog() 258 hrtime_t intrtime = now - t->t_intr_start; in apix_do_softint_prolog() 261 t->t_intr_start = 0; in apix_do_softint_prolog() 298 it->t_intr_start = now; in apix_do_softint_prolog() 320 intrtime = now - it->t_intr_start; in apix_do_softint_epilog() 360 t->t_intr_start = now; in apix_do_softint_epilog() 466 if ((t->t_flag & T_INTR_THREAD) != 0 && t->t_intr_start != 0) { in apix_hilevel_intr_prolog() 467 intrtime = now - t->t_intr_start; in apix_hilevel_intr_prolog() 470 t->t_intr_start = 0; in apix_hilevel_intr_prolog() 563 t->t_intr_start = now; in apix_hilevel_intr_epilog() [all …]
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | machdep.c | 555 if (t->t_intr_start) { in cpu_intr_swtch_enter() 557 start = t->t_intr_start; in cpu_intr_swtch_enter() 559 } while (atomic_cas_64(&t->t_intr_start, start, 0) != start); in cpu_intr_swtch_enter() 585 ts = t->t_intr_start; in cpu_intr_swtch_exit() 586 } while (atomic_cas_64(&t->t_intr_start, ts, CLOCK_TICK_COUNTER()) != in cpu_intr_swtch_exit()
|
/illumos-gate/usr/src/uts/sun4/ml/ |
H A D | interrupt.S | 368 ! only if t_intr_start is non-zero. Since this code is going to account 561 ! 1. load t_intr_start, %tick, and calculate the delta 562 ! 2. replace t_intr_start with %tick (if %o3 is set) or 0. 565 ! It will account for (%tick - t_intr_start) for us when it starts, 566 ! unless we have set t_intr_start to zero, and then set t_intr_start 568 ! is to load t_intr_start and the last is to use casx to store the new 569 ! t_intr_start. This guarantees atomicity in reading t_intr_start, 570 ! reading %tick, and updating t_intr_start. 586 ! interrupt. Above we have set t_intr_start to %tick, not 0. This 746 ldx [%o3], %o4 ! o4 = t_intr_start before [all …]
|
H A D | offsets.in | 171 t_intr_start
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | thread.h | 159 uint64_t t_intr_start; /* timestamp when time slice began */ member
|
/illumos-gate/usr/src/uts/i86pc/ml/ |
H A D | offsets.in | 121 t_intr_start
|