Changeset: 9fbd70e2160b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9fbd70e2160b
Modified Files:
        monetdb5/extras/dvf/dvf.c
Branch: DVframework
Log Message:

dvf: stethoscope can analyze the dynamically modified part of the plan as well.


diffs (17 lines):

diff --git a/monetdb5/extras/dvf/dvf.c b/monetdb5/extras/dvf/dvf.c
--- a/monetdb5/extras/dvf/dvf.c
+++ b/monetdb5/extras/dvf/dvf.c
@@ -437,6 +437,13 @@ str plan_modifier(Client cntxt, MalBlkPt
                }
        }
        
+       mb->profiler = (ProfPtr) GDKrealloc(mb->profiler, (mb->ssize ) * 
sizeof(ProfRecord));
+       
+       for(; i < mb->stop; i++)
+       {
+               mb->profiler[i].trace = TRUE;
+       }
+       
        msg = msg;
        /* run rest of the plan */
        msg = runMALsequence(cntxt, mb, startpc+1, mb->stop, stk_new, stk_new, 
mb->stmt[startpc]);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to