Lines Matching refs:intrstat
625 stx %o0, [%o1 + 8] ! store into intrstat[pil][1]
626 casx [%o1], %o5, %o0 ! and into intrstat[pil][0]
2088 * uint64_t intrstat[pil][0..1] is an array indexed by pil level, with two
2091 * intrstat[pil][0] is a cumulative count of the number of ticks spent
2095 * intrstat[pil][1] is always a count of ticks less than or equal to the
2107 * "checkpoints" the timing information by incrementing intrstat[pil][0]
2109 * It then sets the return value to intrstat[pil][0] - intrstat[pil][1],
2110 * and updates intrstat[pil][1] to be the same as the new value of
2111 * intrstat[pil][0].
2114 * and the code in intr_thread() updates intrstat[pil][0], it then sets
2115 * intrstat[pil][1] to the new value of intrstat[pil][0]. When [0] == [1],
2125 * the higher-pil interrupt's time is accumulated in intrstat[higherpil][].
2211 ! Increment cpu_m.intrstat[pil][0]. Calculate elapsed time since
2212 ! cpu_m.intrstat[pil][1], which is either when the interrupt was
2214 ! update cpu_m.intrstat[pil][1] to match [0].
2219 add %o3, %o5, %o3 ! %o3 = cpu_m.intrstat[pil][0]
2221 add %o2, %o0, %o2 ! %o2 = new value for intrstat
2223 ldx [%o3 + 8], %o4 ! %o4 = cpu_m.intrstat[pil][1]