#ifdeffed strange test
This commit is contained in:
parent
f936a3f35a
commit
eb50492a1f
1 changed files with 4 additions and 1 deletions
|
@ -222,10 +222,13 @@ compute_profits(alloclist,time_opt)
|
||||||
nr_inits = Lnrelems(alloc->al_inits);
|
nr_inits = Lnrelems(alloc->al_inits);
|
||||||
s = alloc->al_susecount * space -
|
s = alloc->al_susecount * space -
|
||||||
nr_inits*ospace;
|
nr_inits*ospace;
|
||||||
|
#ifdef __STRANGE__
|
||||||
if (!alloc->al_isloop && nr_inits > 0) {
|
if (!alloc->al_isloop && nr_inits > 0) {
|
||||||
/* might lead to increase of execution time */
|
/* might lead to increase of execution time */
|
||||||
cnt = 0;
|
cnt = 0;
|
||||||
} else {
|
} else
|
||||||
|
#endif
|
||||||
|
{
|
||||||
cnt = alloc->al_dusecount;
|
cnt = alloc->al_dusecount;
|
||||||
}
|
}
|
||||||
t = cnt * time - dyn_inits(alloc->al_inits) * otime;
|
t = cnt * time - dyn_inits(alloc->al_inits) * otime;
|
||||||
|
|
Loading…
Add table
Reference in a new issue