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() {
|
defn intrcount() {
|
||||||
local p, t, i, j;
|
local p, t, i, j;
|
||||||
|
|
||||||
p = intrtimes;
|
p = intrtimes\X;
|
||||||
i=0; loop 1,256 do {
|
i=0; loop 1,256 do {
|
||||||
t=0;
|
t=0;
|
||||||
j=0; loop 1,20 do {
|
j=0; loop 1,20 do {
|
||||||
t = t+*p++;
|
t = t+*p++;
|
||||||
j=j+1;
|
j=j+1;
|
||||||
}
|
}
|
||||||
|
if t != 0 then {
|
||||||
print(itoa(i, "%5d"), " ", itoa(t, "%11d"), "\n");
|
print(itoa(i, "%5d"), " ", itoa(t, "%11d"), "\n");
|
||||||
|
}
|
||||||
i=i+1;
|
i=i+1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue