Hopefully fixed the Makefile junk
svn path=/branches/dmsnell/heap-buddy/; revision=63403
This commit is contained in:
Родитель
a707be372f
Коммит
61e8aeb90e
|
@ -9,7 +9,8 @@ REPORT_CSFILES = \
|
|||
BacktracesReport.cs \
|
||||
HistoryReport.cs \
|
||||
SummaryReport.cs \
|
||||
TypesReport.cs
|
||||
TypesReport.cs \
|
||||
MemlogReport.cs
|
||||
|
||||
CSFILES = \
|
||||
HeapBuddy.cs \
|
||||
|
@ -23,6 +24,10 @@ CSFILES = \
|
|||
Resize.cs \
|
||||
OutfileReader.cs \
|
||||
Report.cs \
|
||||
MemZone.cs \
|
||||
TypeLog.cs \
|
||||
MethodLog.cs \
|
||||
MemGraph.cs \
|
||||
$(REPORT_CSFILES)
|
||||
|
||||
bin_SCRIPTS = \
|
||||
|
@ -54,4 +59,4 @@ EXTRA_DIST = \
|
|||
CLEANFILES = \
|
||||
$(TARGET) \
|
||||
$(TARGET).mdb \
|
||||
$(WRAPPER)
|
||||
$(WRAPPER)
|
||||
|
|
|
@ -70,6 +70,21 @@ namespace HeapBuddy {
|
|||
|
||||
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче