Home
last modified time | relevance | path

Searched refs:nticks (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/sys/arch/powerpc/booke/
H A De500_timer.c83 u_int nticks; in e500_clock_intr() local
108 nticks = 1 + latency / cpu->cpu_ticks_per_clock_intr; in e500_clock_intr()
111 for (nticks = 1; latency >= cpu->cpu_ticks_per_clock_intr; nticks++) { in e500_clock_intr()
117 cpu->cpu_ev_late_clock.ev_count += nticks - 1; in e500_clock_intr()
124 if (nticks > 10 || now - ci->ci_lastintr < 7 * cpu->cpu_ticks_per_clock_intr / 8) in e500_clock_intr()
126 nticks, ci->ci_lastintr, now - latency, now, latency, orig_latency); in e500_clock_intr()
136 while (nticks-- > 0) { in e500_clock_intr()
/netbsd-src/sys/arch/powerpc/ibm4xx/
H A Dclock.c122 int nticks; in decr_intr() local
134 for (nticks = 0; xticks > ticks_per_intr; nticks++) in decr_intr()
148 tickspending += nticks; in decr_intr()
149 ticksmissed += nticks; in decr_intr()
151 nticks += tickspending; in decr_intr()
164 while (nticks-- > 0) in decr_intr()
/netbsd-src/sys/arch/powerpc/powerpc/
H A Dclock.c146 int nticks; in decr_intr()
157 for (nticks = 0; ticks < 0; nticks++) in decr_intr()
166 ci->ci_tickspending += nticks; in decr_intr()
168 nticks += ci->ci_tickspending; in decr_intr()
189 while (--nticks > 0) in decr_intr()
145 int nticks; decr_intr() local
/netbsd-src/sys/arch/shark/isa/
H A Dclock.c423 int nticks; in delay() local
447 nticks in delay()
454 while (nticks > 0) { in delay()
457 nticks -= TIMER0_ROLLOVER - (ticks - otick); in delay()
459 nticks -= otick - ticks; in delay()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Dprofile.c80 int nticks; /* number of ticks in that state */ member
199 &cp->nticks, sizeof (cp->nticks) == 4 ? "INT32" : "INT64"); in open_experiment()
284 pckt.nticks = 1; in __collector_ext_profile_handler()
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dprofile.c81 int nticks; /* number of ticks in that state */ member
205 (int) offsetof (ClockPacket, nticks), in open_experiment()
206 fld_sizeof (ClockPacket, nticks) == 4 ? "INT32" : "INT64"); in open_experiment()
291 pckt.nticks = 1; in __collector_ext_profile_handler()
/netbsd-src/sys/netinet/
H A Dtcp_timer.h158 #define TCP_TIMER_ARM(tp, timer, nticks) \ argument
160 (nticks) * (hz / PR_SLOWHZ))
H A Dtcp_output.c1664 int nticks; in tcp_setpersist() local
1673 TCPT_RANGESET(nticks, t * tcp_backoff[tp->t_rxtshift], in tcp_setpersist()
1675 TCP_TIMER_ARM(tp, TCPT_PERSIST, nticks); in tcp_setpersist()
/netbsd-src/sys/arch/usermode/dev/
H A Dclock.c116 int nticks = thunk_timer_getoverrun(clock_timerid) + 1; in clock_intr() local
118 while (nticks-- > 0) { in clock_intr()
/netbsd-src/sys/sys/
H A Dprotosw.h267 #define PRT_SLOW_ARM(t, nticks) (t) = (pfslowtimo_now + (nticks)) argument
268 #define PRT_FAST_ARM(t, nticks) (t) = (pffasttimo_now + (nticks)) argument
/netbsd-src/sys/dev/i2c/
H A Dpca9685.c323 const uint64_t nticks = signed_off_tick; in pcapwm_pwm_get_config() local
324 duty_cycle = (u_int)((nticks * chan->ch_conf.period) / in pcapwm_pwm_get_config()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DExperiment.cc3130 long nticks = 0; in add_evt_time_to_profile_events() local
3132 nticks += dview->getLongValue (PROP_NTICK, jj); in add_evt_time_to_profile_events()
3133 if (nticks <= 1) in add_evt_time_to_profile_events()
3136 nticks--; in add_evt_time_to_profile_events()
3137 hrtime_t duration = ptimer_usec * 1000LL * nticks; // nanoseconds in add_evt_time_to_profile_events()
H A DDbeView.cc2287 int nticks = (int) packets->getIntValue (PROP_NTICK, i); in dump_profile() local
2311 mstate, sname, nticks); in dump_profile()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DExperiment.cc3128 long nticks = 0; in add_evt_time_to_profile_events() local
3130 nticks += dview->getLongValue (PROP_NTICK, jj); in add_evt_time_to_profile_events()
3131 if (nticks <= 1) in add_evt_time_to_profile_events()
3134 nticks--; in add_evt_time_to_profile_events()
3135 hrtime_t duration = ptimer_usec * 1000LL * nticks; // nanoseconds in add_evt_time_to_profile_events()
H A DDbeView.cc2287 int nticks = (int) packets->getIntValue (PROP_NTICK, i); in dump_profile() local
2311 mstate, sname, nticks); in dump_profile()