Home | History | Annotate | Download | only in netperf

Lines Matching refs:interrupt

48   uint64_t interrupt;
67 "\t interrupt %llu\n",counters[instance].interrupt);
217 counters[cpu_num].interrupt = 0;
231 counters[cpu_num].interrupt += knp->value.ui64;
354 the interrupt time accounting is in parallel with the other
356 idle will also include time spent in interrupt. for netperf's
361 we could just subtract interrupt time from idle. that has the
365 mechanism, suggested by a Sun engineer is to subtract interrupt
368 with the interrupt time and use that to calculate a new idle
374 more interrupt time than the sum of user, kernel and idle.
389 delta_cpu_counters[i].interrupt = ending_cpu_counters[i].interrupt -
390 starting_cpu_counters[i].interrupt;
396 /* for this summation, we do not include interrupt time */
406 if (delta_cpu_counters[i].interrupt > total_cpu_nsec) {
413 "calc_cpu_util_internal: more interrupt time than others combined!\n");
417 "\t delta[%d].interrupt %llu\n",i,delta_cpu_counters[i].interrupt);
445 the interrupt time and subtract that from the bucket. */
447 interrupt_idle = ((delta_cpu_counters[i].interrupt * fraction_idle) /
450 interrupt_user = ((delta_cpu_counters[i].interrupt * fraction_user) /
453 interrupt_kernel = ((delta_cpu_counters[i].interrupt * fraction_kernel) /
479 corrected_cpu_counters[i].interrupt = delta_cpu_counters[i].interrupt;
491 /* ok, now we sum the numbers again, this time including interrupt
498 corrected_cpu_counters[i].interrupt;
519 (corrected_cpu_counters[i].interrupt * CALC_ACCURACY) / total_cpu_nsec;