Ejemplo n.º 1
0
 private void viewHistogramRelocatedMenuItem_Click(object sender, System.EventArgs e)
 {
     if (clrProfiler.lastLogResult != null)
     {
         string            title             = "Histogram by Size for Relocated Objects";
         HistogramViewForm histogramViewForm = new HistogramViewForm(clrProfiler.lastLogResult.relocatedHistogram, title);
         histogramViewForm.Show();
     }
 }
Ejemplo n.º 2
0
 private void viewHistogramCriticalFinalizerMenuItem_Click(object sender, System.EventArgs e)
 {
     if (clrProfiler.lastLogResult != null)
     {
         string            title             = "Histogram by Size for Critical Finalized Objects";
         HistogramViewForm histogramViewForm = new HistogramViewForm(clrProfiler.lastLogResult.criticalFinalizerHistogram, title);
         histogramViewForm.Show();
     }
 }
Ejemplo n.º 3
0
        private void viewHistogram_Click(object sender, System.EventArgs e)
        {
            HistogramViewForm histogramViewForm = new HistogramViewForm();

            histogramViewForm.Visible = true;
        }