projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64745ae
)
memcpy_speed: make default upper limit lower
author
David Schleef
<ds@schleef.org>
Wed, 21 Jul 2010 20:53:29 +0000
(13:53 -0700)
committer
David Schleef
<ds@schleef.org>
Wed, 21 Jul 2010 20:53:29 +0000
(13:53 -0700)
If the cache size is not known, max out at 1 MB.
Better for slow systems.
testsuite/memcpy_speed.c
patch
|
blob
|
history
diff --git
a/testsuite/memcpy_speed.c
b/testsuite/memcpy_speed.c
index
b3b5f43
..
f03bfec
100644
(file)
--- a/
testsuite/memcpy_speed.c
+++ b/
testsuite/memcpy_speed.c
@@
-90,7
+90,7
@@
main(int argc, char *argv[])
} else if (level3 > 0) {
max = (log(level2)/M_LN2 - 6.0) * 10 + 20;
} else {
- max =
20
0;
+ max =
14
0;
}
for(i=0;i<max;i++){