Displaying 2 results from an estimated 2 matches for "irqs_per_ks".
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...truct seq
time_page_fault();
seq_printf(m, "Kernel #PF cycle count: %lld\n", page_fault_cycles);
+#ifdef CONFIG_NO_IDLE_HZ
+ {
+ int i;
+ seq_printf(m, "Idle HZ:");
+ for_each_cpu(i) {
+ /* Shouldn't go idle now, so no extra synchronization needed. */
+ unsigned int irqs_per_ks = 0;
+ if (per_cpu(vmi_idle_no_hz_jiffies, i))
+ irqs_per_ks = 1000 * HZ * per_cpu(vmi_idle_no_hz_irqs, i) /
+ per_cpu(vmi_idle_no_hz_jiffies, i);
+ seq_printf(m, " %u.%03u", irqs_per_ks/1000, irqs_per_ks%1000);
+ }
+ seq_printf(m, "\n");
+ }
+#endif
return 0;
}
Ind...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...truct seq
time_page_fault();
seq_printf(m, "Kernel #PF cycle count: %lld\n", page_fault_cycles);
+#ifdef CONFIG_NO_IDLE_HZ
+ {
+ int i;
+ seq_printf(m, "Idle HZ:");
+ for_each_cpu(i) {
+ /* Shouldn't go idle now, so no extra synchronization needed. */
+ unsigned int irqs_per_ks = 0;
+ if (per_cpu(vmi_idle_no_hz_jiffies, i))
+ irqs_per_ks = 1000 * HZ * per_cpu(vmi_idle_no_hz_irqs, i) /
+ per_cpu(vmi_idle_no_hz_jiffies, i);
+ seq_printf(m, " %u.%03u", irqs_per_ks/1000, irqs_per_ks%1000);
+ }
+ seq_printf(m, "\n");
+ }
+#endif
return 0;
}
Ind...