For total interrupt count on -vm screen count all interrupts, but not only
those which fit the screen.
This commit is contained in:
parent
17dce7e108
commit
4b06d6510d
@ -443,6 +443,9 @@ showkre(void)
|
||||
for (i = 0; i < nintr; i++) {
|
||||
if (s.intrcnt[i] == 0)
|
||||
continue;
|
||||
X(intrcnt);
|
||||
l = (int)((float)s.intrcnt[i]/etime + 0.5);
|
||||
inttotal += l;
|
||||
if (intrloc[i] == 0) {
|
||||
if (nextintsrow == LINES)
|
||||
continue;
|
||||
@ -450,9 +453,6 @@ showkre(void)
|
||||
mvprintw(intrloc[i], INTSCOL + 6, "%-10.10s",
|
||||
intrname[i]);
|
||||
}
|
||||
X(intrcnt);
|
||||
l = (int)((float)s.intrcnt[i]/etime + 0.5);
|
||||
inttotal += l;
|
||||
putint(l, intrloc[i], INTSCOL, 5);
|
||||
}
|
||||
putint(inttotal, INTSROW + 1, INTSCOL, 5);
|
||||
|
Loading…
x
Reference in New Issue
Block a user