55   if (!
c.Contains(
"workers=") && cfg && 
strstr(cfg, 
"workers=")) 
c = cfg;
 
   81   if (
p && 
p->IsValid()) {
 
   98                               ns, 
p->GetSessionID(), 
st, 
p);
 
  103      Error(
"CreateSession", 
"creating PROOF session");
 
 
  130                                         const char *pattern, 
Bool_t)
 
  165         Error(
"GetSessionLogs", 
"information for session '%s' not available", tag.
Data());
 
  178               if (i != 
kNPOS) 
d.Remove(i);
 
  180               if (i != 
kNPOS) 
d.Remove(0,i+1);
 
  191                 "session index out of range (%d): take oldest available session", 
isess);
 
  204         Error(
"GetSessionLogs", 
"cannot locate session dir for index '%d' under '%s':" 
  216   Info(
"GetSessionLogs", 
"analysing session dir %s", 
sessiondir.Data());
 
  227         if (
fn.EndsWith(
".log") && 
fn.CountChar(
'-') > 0) {
 
  229            if (
fn.BeginsWith(
"session-")) {
 
  231            } 
else if (
fn.BeginsWith(
"worker-")) {
 
  233               ord.ReplaceAll(
"worker-", 
"");
 
  237               } 
else if (
ord.Contains(
".valgrind")) {
 
  239                  ord.ReplaceAll(
".valgrind.log",
"-valgrind");
 
  244               if (!
ord.IsNull()) 
ord.ReplaceAll(
"0.", 
"");
 
  252                  Info(
"GetSessionLogs", 
"ord: %s, url: %s", 
ord.Data(), 
url.Data());
 
  262         if (
ord == 
"0.-1") 
ord = 
"0";
 
  264         pl->Add(
ord, 
n->GetTitle());
 
  274      const char *
pat = pattern ? pattern : 
"-v \"| SvcMsg\"";
 
 
  292      Error(
"ReadBuffer", 
"undefined path!");
 
  300      Error(
"ReadBuffer", 
"problems opening file %s", 
fn.Data());
 
  308   if (ofs > 0 && ofs < end) {
 
  313   if (
len > (end - start + 1) || 
len <= 0)
 
  314      len = end - start + 1;
 
  326         Error(
"ReadBuffer", 
"error reading file %s", 
fn.Data());
 
  329      } 
else if (
len > 0) {
 
  340   } 
while (
len > 0 && left > 0);
 
 
  356   if (!pattern || 
strlen(pattern) <= 0)
 
  360      Error(
"ReadBuffer", 
"undefined path!");
 
  368   if (
pat.Contains(
"-v ")) {
 
  369      pat.ReplaceAll(
"-v ", 
"");
 
  398      if (!
line.EndsWith(
"\n")) 
line.Append(
'\n');
 
 
static void retrieve(const gsl_integration_workspace *workspace, double *a, double *b, double *r, double *e)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
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 Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
 
const char *const kPROOF_WorkDir
 
R__EXTERN TProof * gProof
 
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
 
R__EXTERN TSystem * gSystem
 
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
 
void Add(TObject *obj) override
 
TObject * Last() const override
Return the last object in the list. Returns 0 when list is empty.
 
The TNamed class is the base class for all named ROOT classes.
 
Collectable string class.
 
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
 
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
 
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
 
This class starts a PROOF session on the local machine: no daemons, client and master merged,...
 
static Int_t GetNumberOfWorkers(const char *url=0)
Static method to determine the number of workers giving priority to users request.
 
Implementation of the PROOF session log handler.
 
Basic TProofMgr functionality implementation in the case of Lite session.
 
TObjString * ReadBuffer(const char *file, Long64_t ofs, Int_t len) override
Read 'len' bytes from offset 'ofs' of the local file 'fin'.
 
TProofLog * GetSessionLogs(Int_t ridx=0, const char *stag=0, const char *pattern="-v | SvcMsg", Bool_t rescan=kFALSE) override
Get logs or log tails from last session associated with this manager instance.
 
TProofMgrLite(const char *url, Int_t loglevel=-1, const char *alias="")
Create a PROOF manager for the Lite environment.
 
TProof * CreateSession(const char *=0, const char *=0, Int_t=-1) override
Create a new session.
 
The PROOF manager interacts with the PROOF server coordinator to create or destroy a PROOF session,...
 
This class controls a Parallel ROOT Facility, PROOF, cluster.
 
Int_t GetParallel() const
Returns number of slaves active in parallel mode.
 
Regular expression class.
 
A sorted doubly linked list.
 
const char * Data() const
 
TString & ReplaceAll(const TString &s1, const TString &s2)
 
static void ResetErrno()
Static function resetting system error number.
 
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
 
static Int_t GetErrno()
Static function returning system error number.
 
virtual void FreeDirectory(void *dirp)
Free a directory.
 
virtual void * OpenDirectory(const char *name)
Open a directory. Returns 0 if directory does not exist.
 
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
 
virtual const char * GetDirEntry(void *dirp)
Get a directory entry. Returns 0 if no more entries.
 
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.
 
virtual const char * WorkingDirectory()
Return working directory.
 
virtual const char * HomeDirectory(const char *userName=nullptr)
Return the user's home directory.
 
This class represents a WWW compatible URL.
 
const char * GetFile() const
 
const char * GetOptions() const