Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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#include "TGFrame.h"
17
18class TGListBox;
19class TGTextButton;
22class TGSplitButton;
23class TProofLog;
24class TMultiGraph;
25class TGraph;
26class TProofLogElem;
27
29
30 protected:
34 TGSplitButton *fAllWorkers; // display all workers button
42
46 TGraph* DoAveragePlot(Int_t &max_el, Int_t &min_el);
47 TGraph* DoAveragePlotOld(Int_t &max_el, Int_t &min_el);
48
50
51 public:
54
55 void Clear(Option_t * = nullptr);
56 void DoPlot();
57 void Select(Int_t id);
58
59 ClassDef(TProofProgressMemoryPlot,0) //PROOF progress memory plots
60};
61
62#endif
#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:337
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.
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
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 *=nullptr)
Clear the canvases.
This class creates a TGCanvas in which a TCanvas is created.
Basic string class.
Definition TString.h:139
TLine l
Definition textangle.C:4