Author: dsnell
Date: 2006-08-06 01:25:31 -0400 (Sun, 06 Aug 2006)
New Revision: 63403

Modified:
   branches/dmsnell/heap-buddy/analyzer/Makefile.am
   branches/dmsnell/heap-buddy/analyzer/MemGraph.cs
Log:
Hopefully fixed the Makefile junk


Modified: branches/dmsnell/heap-buddy/analyzer/Makefile.am
===================================================================
--- branches/dmsnell/heap-buddy/analyzer/Makefile.am    2006-08-06 04:47:13 UTC 
(rev 63402)
+++ branches/dmsnell/heap-buddy/analyzer/Makefile.am    2006-08-06 05:25:31 UTC 
(rev 63403)
@@ -9,7 +9,8 @@
        BacktracesReport.cs     \
        HistoryReport.cs        \
        SummaryReport.cs        \
-       TypesReport.cs
+       TypesReport.cs          \
+       MemlogReport.cs
 
 CSFILES =                      \
        HeapBuddy.cs            \
@@ -23,6 +24,10 @@
        Resize.cs               \
        OutfileReader.cs        \
        Report.cs               \
+       MemZone.cs              \
+       TypeLog.cs              \
+       MethodLog.cs            \
+       MemGraph.cs             \
        $(REPORT_CSFILES)
 
 bin_SCRIPTS =                  \
@@ -54,4 +59,4 @@
 CLEANFILES =                   \
        $(TARGET)               \
        $(TARGET).mdb           \
-       $(WRAPPER)
\ No newline at end of file
+       $(WRAPPER)

Modified: branches/dmsnell/heap-buddy/analyzer/MemGraph.cs
===================================================================
--- branches/dmsnell/heap-buddy/analyzer/MemGraph.cs    2006-08-06 04:47:13 UTC 
(rev 63402)
+++ branches/dmsnell/heap-buddy/analyzer/MemGraph.cs    2006-08-06 05:25:31 UTC 
(rev 63403)
@@ -70,6 +70,21 @@
                        
                        CollectStats (reader, data);
                        DisplayStats (Stats);
+                       
+                       ImageSurface surface = new ImageSurface (Format.RGB24, 
320, 240);
+                       Context c = new Context (surface);
+                       
+                       c.Color = new Color (1, 1, 1, 1);
+                       c.Paint ();
+                       
+                       c.Color = new Color (0, 0, 0, 1);
+                       c.MoveTo (0, 0);
+                       c.LineTo (320, 240);
+                       c.LineWidth = 4;
+                       c.Stroke ();
+                       
+                       surface.WriteToPng ("memgraph.png");
+                       surface.Finish ();
                }
                
                public void CollectStats (OutfileReader reader, string data)

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to