Logo ROOT  
Reference Guide
TProofProgressMemoryPlot.h
Go to the documentation of this file.
1// @(#)root/sessionviewer:$Id$
2// Author: Anna Kreshuk 18/07/2008
3
4/*************************************************************************
5 * Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TProofProgressMemoryPlot
13#define ROOT_TProofProgressMemoryPlot
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// TProofProgressMemoryPlot //
18// //
19// This class implements a dialog, used to display the memory footprint //
20// on the proof workers and master. For the workers, memory is plotted //
21// as a function of number of events processed. For the master, it is //
22// plotted as a function of number of objects merged //
23// //
24//////////////////////////////////////////////////////////////////////////
25
26#include "TGFrame.h"
27
28class TGListBox;
29class TGTextButton;
32class TGSplitButton;
33class TProofLog;
34class TMultiGraph;
35class TGraph;
36class TProofLogElem;
37
39
40 protected:
44 TGSplitButton *fAllWorkers; // display all workers button
52
56 TGraph* DoAveragePlot(Int_t &max_el, Int_t &min_el);
57 TGraph* DoAveragePlotOld(Int_t &max_el, Int_t &min_el);
58
60
61 public:
64
65 void Clear(Option_t * = 0);
66 void DoPlot();
67 void Select(Int_t id);
68
69 ClassDef(TProofProgressMemoryPlot,0) //PROOF progress memory plots
70};
71
72#endif
ROOT::R::TRInterface & r
Definition: Object.C:4
#define d(i)
Definition: RSha256.hxx:102
#define h(i)
Definition: RSha256.hxx:106
#define e(i)
Definition: RSha256.hxx:103
long long Long64_t
Definition: RtypesCore.h:71
const char Option_t
Definition: RtypesCore.h:64
#define ClassDef(name, id)
Definition: Rtypes.h:322
A TGraph is an object made of two arrays X and Y with npoints each.
Definition: TGraph.h:41
A TMultiGraph is a collection of TGraph (or derived) objects.
Definition: TMultiGraph.h:36
Implementation of the PROOF session log handler.
Definition: TProofLog.h:32
TRootEmbeddedCanvas * fWorkersPlot
TGListBox * BuildLogList(TGFrame *parent)
Build the list of workers.
TProofProgressDialog * fDialog
TGraph * DoMasterPlot(TProofLogElem *ple)
a master or submaster log display without meaningful labels for now
TGraph * DoWorkerPlot(TProofLogElem *ple)
Make a memory consumption graph for a worker.
TRootEmbeddedCanvas * fMasterPlot
TProofProgressMemoryPlot(TProofProgressDialog *d, Int_t w=700, Int_t h=300)
Main constructor.
Int_t ParseLine(TString l, Long64_t &v, Long64_t &r, Long64_t &e)
Extract from line 'l' the virtual memory 'v', the resident memory 'r' and the number of events 'e'.
void DoPlot()
Draw the plot from the logs.
void Select(Int_t id)
actions of select all/clear all button
TGraph * DoAveragePlotOld(Int_t &max_el, Int_t &min_el)
virtual ~TProofProgressMemoryPlot()
Destructor.
TGraph * DoAveragePlot(Int_t &max_el, Int_t &min_el)
Create the average plots.
void Clear(Option_t *=0)
Clear the canvases.
Basic string class.
Definition: TString.h:131
auto * l
Definition: textangle.C:4