Changeset 78844a1 in git
- Timestamp:
- Jul 9, 2013, 10:42:28 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- eff28d6
- Parents:
- a9d423d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/MemoryUsage.C
ra9d423d r78844a1 99 99 grvsz.GetXaxis()->SetTitle("time, s"); 100 100 grvsz.GetYaxis()->SetTitle("memory usage, kB"); 101 grvsz.SetLineColor(kRed); 102 grrss.SetLineColor(kMagenta); 103 grvsz.SetLineWidth(2); 104 grrss.SetLineWidth(2); 101 grvsz.SetLineColor(kBlack); 102 grrss.SetLineColor(kBlack); 103 grvsz.SetLineStyle(kDashed); 104 grrss.SetLineStyle(kSolid); 105 grvsz.SetLineWidth(3); 106 grrss.SetLineWidth(3); 105 107 grvsz.Draw("AL"); 106 108 grrss.Draw("L"); … … 110 112 legend.SetFillColor(kExRootBackgroundColor); 111 113 legend.SetBorderSize(0); 112 legend.AddEntry(&grvsz, "virtual memory size", "l");113 legend.AddEntry(&grrss, " resident set size", "l");114 legend.AddEntry(&grvsz, "virtual memory", "l"); 115 legend.AddEntry(&grrss, "physical memory", "l"); 114 116 legend.Draw(); 115 117 }
Note:
See TracChangeset
for help on using the changeset viewer.