public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f936a3f
)
#ifdeffed strange test
author
ceriel
<none@none>
Wed, 1 Aug 1990 14:34:53 +0000
(14:34 +0000)
committer
ceriel
<none@none>
Wed, 1 Aug 1990 14:34:53 +0000
(14:34 +0000)
util/ego/ra/ra_profits.c
patch
|
blob
|
history
diff --git
a/util/ego/ra/ra_profits.c
b/util/ego/ra/ra_profits.c
index
ab17fa7
..
208dd75
100644
(file)
--- a/
util/ego/ra/ra_profits.c
+++ b/
util/ego/ra/ra_profits.c
@@
-222,10
+222,13
@@
compute_profits(alloclist,time_opt)
nr_inits = Lnrelems(alloc->al_inits);
s = alloc->al_susecount * space -
nr_inits*ospace;
+#ifdef __STRANGE__
if (!alloc->al_isloop && nr_inits > 0) {
/* might lead to increase of execution time */
cnt = 0;
- } else {
+ } else
+#endif
+ {
cnt = alloc->al_dusecount;
}
t = cnt * time - dyn_inits(alloc->al_inits) * otime;