int i;
struct stats_cpu *scc, *scp;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
/* @nr[curr] cannot normally be greater than @nr_ini */
if (a->nr[curr] > a->nr_ini) {
- if (DISPLAY_HINTS(flags)) {
- printf("[NEW: %d->%d]\n", a->nr_ini, a->nr[curr]);
- }
a->nr_ini = a->nr[curr];
}
int i;
struct stats_irq *sic, *sip;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; (i < a->nr[curr]) && (i < a->bitmap->b_size + 1); i++) {
sic = (struct stats_irq *) ((char *) a->buf[curr] + i * a->msize);
int i, j, j0, found;
struct stats_serial *ssc, *ssp;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; i < a->nr[curr]; i++) {
ssc = (struct stats_serial *) ((char *) a->buf[curr] + i * a->msize);
memset(&sdpzero, 0, STATS_DISK_SIZE);
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; i < a->nr[curr]; i++) {
sdc = (struct stats_disk *) ((char *) a->buf[curr] + i * a->msize);
memset(&sndzero, 0, STATS_NET_DEV_SIZE);
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; i < a->nr[curr]; i++) {
sndc = (struct stats_net_dev *) ((char *) a->buf[curr] + i * a->msize);
memset(&snedzero, 0, STATS_NET_EDEV_SIZE);
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; i < a->nr[curr]; i++) {
snedc = (struct stats_net_edev *) ((char *) a->buf[curr] + i * a->msize);
int i;
struct stats_pwr_cpufreq *spc;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; (i < a->nr[curr]) && (i < a->bitmap->b_size + 1); i++) {
spc = (struct stats_pwr_cpufreq *) ((char *) a->buf[curr] + i * a->msize);
int i;
struct stats_pwr_fan *spc;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; i < a->nr[curr]; i++) {
spc = (struct stats_pwr_fan *) ((char *) a->buf[curr] + i * a->msize);
int i;
struct stats_pwr_temp *spc;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; i < a->nr[curr]; i++) {
spc = (struct stats_pwr_temp *) ((char *) a->buf[curr] + i * a->msize);
int i;
struct stats_pwr_in *spc;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; i < a->nr[curr]; i++) {
spc = (struct stats_pwr_in *) ((char *) a->buf[curr] + i * a->msize);
int i, k;
struct stats_pwr_wghfreq *spc, *spp, *spc_k, *spp_k;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d,%d]\n", a->nr[curr], a->nr_ini, a->nr2);
+ }
+
for (i = 0; (i < a->nr[curr]) && (i < a->bitmap->b_size + 1); i++) {
spc = (struct stats_pwr_wghfreq *) ((char *) a->buf[curr] + i * a->msize * a->nr2);
int i;
struct stats_pwr_usb *suc;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; i < a->nr[curr]; i++) {
suc = (struct stats_pwr_usb *) ((char *) a->buf[curr] + i * a->msize);
int i;
struct stats_filesystem *sfc;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; i < a->nr[curr]; i++) {
sfc = (struct stats_filesystem *) ((char *) a->buf[curr] + i * a->msize);
int i, j, j0, found;
struct stats_fchost *sfcc, *sfcp;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; i < a->nr[curr]; i++) {
sfcc = (struct stats_fchost *) ((char *) a->buf[curr] + i * a->msize);
int i;
struct stats_softnet *ssnc, *ssnp;
+ if (DISPLAY_HINTS(flags)) {
+ printf("[NBR: %d/%d]\n", a->nr[curr], a->nr_ini);
+ }
+
for (i = 0; (i < a->nr[curr]) && (i < a->bitmap->b_size + 1); i++) {
/*