acid -k: fix intrcount() for amd64
This commit is contained in:
parent
cd357a2b8c
commit
7a97fe132a
1 changed files with 4 additions and 2 deletions
|
@ -399,14 +399,16 @@ defn up() {
|
|||
defn intrcount() {
|
||||
local p, t, i, j;
|
||||
|
||||
p = intrtimes;
|
||||
p = intrtimes\X;
|
||||
i=0; loop 1,256 do {
|
||||
t=0;
|
||||
j=0; loop 1,20 do {
|
||||
t = t+*p++;
|
||||
j=j+1;
|
||||
}
|
||||
print(itoa(i, "%5d"), " ", itoa(t, "%11d"), "\n");
|
||||
if t != 0 then {
|
||||
print(itoa(i, "%5d"), " ", itoa(t, "%11d"), "\n");
|
||||
}
|
||||
i=i+1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue