Changeset: ba804e3cbf59 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ba804e3cbf59
Modified Files:
monetdb5/scheduler/mut_policy.c
Branch: mutation
Log Message:
Simplify cost model
diffs (19 lines):
diff --git a/monetdb5/scheduler/mut_policy.c b/monetdb5/scheduler/mut_policy.c
--- a/monetdb5/scheduler/mut_policy.c
+++ b/monetdb5/scheduler/mut_policy.c
@@ -78,6 +78,7 @@ MUTfindtarget(Client cntxt, Mutant m, ln
} else (void) cntxt;
// mat.pack are blocking, they weight more in the comparison
+ /*
if ( getModuleId(p) == matRef && ( getFunctionId(p) == packRef
|| getFunctionId(p)== mergepackRef) && i != m->target){
if (target >= 0 && src->profiler[i].ticks * p->argc >
cost){
cost= src->profiler[i].ticks * p->argc;
@@ -86,6 +87,7 @@ MUTfindtarget(Client cntxt, Mutant m, ln
continue;
}
}
+ */
if ((src->profiler[i].ticks <= threshold || (upperbound &&
src->profiler[i].ticks>= upperbound)) )
continue;
if (src->profiler[i].ticks <= cost)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list