+ for (i = 1; i < PCNT_CNT; i++) {
+ pcounters_all[i] += pcounters[i];
+ printf("%5.0f ", pcounters_all[i] / pcounter_samples);
+ }
+ pcounters_all[i] += rem;
+ printf("%5.0f\n", pcounters_all[i] / pcounter_samples);
+#else
+ for (i = 1; i < PCNT_CNT; i++)
+ printf("%5u ", pcounters[i]);
+ printf("%5u (", rem);
+ for (i = 1; i < PCNT_CNT; i++)
+ printf("%2u ", pcounters[i] * 100 / total);
+ printf("%2u) %u\n", rem * 100 / total, total);
+#endif