projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b245d9
)
fewer runs for max
author
Matthias Braun
<matze@braunis.de>
Mon, 16 Oct 2006 12:24:50 +0000
(12:24 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 16 Oct 2006 12:24:50 +0000
(12:24 +0000)
ir/be/test/max.c
patch
|
blob
|
history
diff --git
a/ir/be/test/max.c
b/ir/be/test/max.c
index
6cb2230
..
600e4cb
100644
(file)
--- a/
ir/be/test/max.c
+++ b/
ir/be/test/max.c
@@
-34,12
+34,15
@@
void dequant_h263_inter_c(short *data, const short *coeff, const unsigned int qu
}
}
-int main(int argc){
+int main(int argc
, char **argv
){
short cur[MAX];
short ref[MAX];
- int numofruns =
100
0;
+ int numofruns =
3
0;
int i,ii;
+ if(argc > 1)
+ numofruns = atoi(argv[1]);
+
for (i = 0; i < numofruns; i++){
/* Reset cache. Alles andere ist unrealistisch. */
for(ii = 0; ii < MAX; ii++){