Logo ROOT  
Reference Guide
Go to the documentation of this file.
1// @(#)root/sessionviewer:$Id$
2// Author: Anna Kreshuk 18/07/2008
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 *************************************************************************/
12#ifndef ROOT_TProofProgressMemoryPlot
13#define ROOT_TProofProgressMemoryPlot
16#include "TGFrame.h"
18class TGListBox;
19class TGTextButton;
22class TGSplitButton;
23class TProofLog;
24class TMultiGraph;
25class TGraph;
26class TProofLogElem;
30 protected:
34 TGSplitButton *fAllWorkers; // display all workers button
46 TGraph* DoAveragePlot(Int_t &max_el, Int_t &min_el);
47 TGraph* DoAveragePlotOld(Int_t &max_el, Int_t &min_el);
51 public:
55 void Clear(Option_t * = 0);
56 void DoPlot();
57 void Select(Int_t id);
59 ClassDef(TProofProgressMemoryPlot,0) //PROOF progress memory plots
#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:80
const char Option_t
Definition: RtypesCore.h:66
#define ClassDef(name, id)
Definition: Rtypes.h:335
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
Definition: TGFrame.h:80
A listbox is a box, possibly with scrollbar, containing entries.
Definition: TGListBox.h:221
Implements a button with added menu functionality.
Definition: TGButton.h:378
Yield an action as soon as it is clicked.
Definition: TGButton.h:142
Defines transient windows that typically are used for dialogs windows.
Definition: TGFrame.h:498
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:34
Implementation of the PROOF session log handler.
Definition: TProofLog.h:32
This class provides a query progress bar.
This class implements a dialog, used to display the memory footprint on the proof workers and master.
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()
TGraph * DoAveragePlot(Int_t &max_el, Int_t &min_el)
Create the average plots.
void Clear(Option_t *=0)
Clear the canvases.
This class creates a TGCanvas in which a TCanvas is created.
Basic string class.
Definition: TString.h:136
auto * l
Definition: textangle.C:4