Changeset: 1976f293d9ff for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1976f293d9ff Modified Files: monetdb5/mal/mal_dataflow.c monetdb5/scheduler/Tests/gmon.out monetdb5/scheduler/mut_transforms.c monetdb5/scheduler/run_multicore.c Branch: mutation Log Message:
added language.pass to remove least expensive piece related scheduling artifact diffs (72 lines): diff --git a/monetdb5/mal/mal_dataflow.c b/monetdb5/mal/mal_dataflow.c --- a/monetdb5/mal/mal_dataflow.c +++ b/monetdb5/mal/mal_dataflow.c @@ -226,7 +226,7 @@ q_dequeue(queue *q) return r; } -/* +/* * We simply move an instruction into the front of the queue. * Beware, we assume that variables are assigned a value once, otherwise * the order may really create errors. diff --git a/monetdb5/scheduler/Tests/gmon.out b/monetdb5/scheduler/Tests/gmon.out index cfc50b0a393a2ad755bab031fa4318d521314cf0..e8b1c2fc265c97489a21fab607a19a2d7ec3f676 GIT binary patch literal 21771 zc%1FrF-rnr7{Kwnu*I>h%_$N@3~F)F8lusUP^mb1C!EsQVJ%KUgSF)sNQ4>$MWP{U z^8+}zNUK{E4fVdy8@|bnj{o2C-1Fys;qD7urRsaGvm}$q>$&|RGfX;8>30U@qVJW0 zzhlAjJpcdz0000000000000000000000000000000001BmE3SAuOC_|nR_~($nt(D zGp1tg^nX<U+;lq)S^5VNv9%i!lYtd`CN^^sagep*^h}ohqRe$yooveTRj^N*_*}7K zp)Jenh0LQh^-3nbZTgdqb93^^#GGTr%#FnPmCTyD9^T4w|LN(Ias8PlUVnRw>z%H| e+0c5W;|E#p(pDTl%JQ*g#kq;2dPKZzFX9h)x=Sno diff --git a/monetdb5/scheduler/mut_transforms.c b/monetdb5/scheduler/mut_transforms.c --- a/monetdb5/scheduler/mut_transforms.c +++ b/monetdb5/scheduler/mut_transforms.c @@ -91,10 +91,11 @@ mutationJoin(Client cntxt, Mutant m){ m->src->profiler[m->src->stop-1].trace = profiler; q= newStmt(m->src, languageRef, passRef); - q = pushArgument(m->src,q,getArg(p,2)); + q = pushArgument(m->src,q,getArg(p,p->retc)); // inherit profiling m->src->profiler[m->src->stop-1].trace = profiler; + q= copyInstruction(p); getArg(q,2)= b1; v1 = getArg(q,0)= newTmpVariable(m->src,TYPE_any); @@ -121,6 +122,12 @@ mutationJoin(Client cntxt, Mutant m){ // inherit profiling m->src->profiler[m->src->stop-1].trace = profiler; + //To silent the scheduler artifact where smallest instructions is always scheduled in a serial manner + q= newStmt(m->src, languageRef, passRef); + q = pushArgument(m->src,q, getArg(p,p->retc+1)); + // inherit profiling + m->src->profiler[m->src->stop-1].trace = profiler; + (void)z1; (void)z2; @@ -224,6 +231,7 @@ mutationSelect(Client cntxt, Mutant m){ // inherit profiling m->src->profiler[m->src->stop-1].trace = profiler; + q= copyInstruction(p); getArg(q,1)= b1; v1 = getArg(q,0)= newTmpVariable(m->src,TYPE_any); diff --git a/monetdb5/scheduler/run_multicore.c b/monetdb5/scheduler/run_multicore.c --- a/monetdb5/scheduler/run_multicore.c +++ b/monetdb5/scheduler/run_multicore.c @@ -50,7 +50,7 @@ RUNmulticore(Client cntxt, MalBlkPtr mb, (void) cntxt; - mnstr_printf(cntxt->fdout,"#RUNmulticore calls %d \n", mb->calls); +// mnstr_printf(cntxt->fdout,"#RUNmulticore calls %d \n", mb->calls); // if called the first time, just execute the call if ( mb->calls == 0 ){ initProfiler(mb); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list