XRootD
XrdSsiStats.hh
Go to the documentation of this file.
1
#ifndef __SSI_STATS_H__
2
#define __SSI_STATS_H__
3
/******************************************************************************/
4
/* X r d S s i S t a t s . h h */
5
/* */
6
/* (c) 2018 by the Board of Trustees of the Leland Stanford, Jr., University */
7
/* Produced by Andrew Hanushevsky for Stanford University under contract */
8
/* DE-AC02-76-SFO0515 with the Department of Energy */
9
/* */
10
/* This file is part of the XRootD software suite. */
11
/* */
12
/* XRootD is free software: you can redistribute it and/or modify it under */
13
/* the terms of the GNU Lesser General Public License as published by the */
14
/* Free Software Foundation, either version 3 of the License, or (at your */
15
/* option) any later version. */
16
/* */
17
/* XRootD is distributed in the hope that it will be useful, but WITHOUT */
18
/* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
19
/* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public */
20
/* License for more details. */
21
/* */
22
/* You should have received a copy of the GNU Lesser General Public License */
23
/* along with XRootD in a file called COPYING.LESSER (LGPL license) and file */
24
/* COPYING (GPL license). If not, see <http://www.gnu.org/licenses/>. */
25
/* */
26
/* The copyright holder's institutional names and contributor's names may not */
27
/* be used to endorse or promote products derived from this software without */
28
/* specific prior written permission of the institution or contributor. */
29
/******************************************************************************/
30
31
#include "
XrdSys/XrdSysPthread.hh
"
32
#include "
XrdOuc/XrdOucStats.hh
"
33
34
class
XrdSfsFileSystem
;
35
class
XrdStats
;
36
37
class
XrdSsiStats
:
public
XrdOucStats
38
{
39
public
:
40
long
long
ReqBytes
;
// Stats: Number of requests bytes total
41
long
long
ReqMaxsz
;
// Stats: Number of requests largest size
42
long
long
RspMDBytes
;
// Stats: Number of metada response bytes
43
int
ReqAborts
;
// Stats: Number of request aborts
44
int
ReqAlerts
;
// Stats: Number of request alerts
45
int
ReqBound
;
// Stats: Number of requests bound
46
int
ReqCancels
;
// Stats: Number of request Finished()+cancel
47
int
ReqCount
;
// Stats: Number of requests (total)
48
int
ReqFinForce
;
// Stats: Number of request Finished()+forced
49
int
ReqFinished
;
// Stats: Number of request Finished()
50
int
ReqGets
;
// Stats: Number of requests -> GetRequest()
51
int
ReqPrepErrs
;
// Stats: Number of request prepare errors
52
int
ReqProcs
;
// Stats: Number of requests -> ProcessRequest()
53
int
ReqRedir
;
// Stats: Number of request redirects
54
int
ReqRelBuf
;
// Stats: Number of request -> RelRequestBuff()
55
int
ReqStalls
;
// Stats: Number of request stalls
56
int
RspBad
;
// Stats: Number of invalid responses
57
int
RspCallBK
;
// Stats: Number of request callbacks
58
int
RspData
;
// Stats: Number of data responses
59
int
RspErrs
;
// Stats: Number of error responses
60
int
RspFile
;
// Stats: Number of file responses
61
int
RspReady
;
// Stats: Number of ready responses
62
int
RspStrm
;
// Stats: Number of stream responses
63
int
RspUnRdy
;
// Stats: Number of unready responses
64
int
SsiErrs
;
// Stats: Number of SSI detected errors
65
int
ResAdds
;
// Stats: Number of resource additions
66
int
ResRems
;
// Stats: Number of resource removals
67
68
void
setFS
(
XrdSfsFileSystem
*fsp) {fsP = fsp;}
69
70
int
Stats
(
char
*buff,
int
blen);
71
72
XrdSsiStats
();
73
~XrdSsiStats
() {}
74
private
:
75
76
XrdSfsFileSystem
*fsP;
77
};
78
#endif
XrdOucStats.hh
XrdSysPthread.hh
XrdOucStats
Definition:
XrdOucStats.hh:44
XrdSfsFileSystem
Definition:
XrdSfsInterface.hh:846
XrdSsiStats
Definition:
XrdSsiStats.hh:38
XrdSsiStats::RspReady
int RspReady
Definition:
XrdSsiStats.hh:61
XrdSsiStats::ResAdds
int ResAdds
Definition:
XrdSsiStats.hh:65
XrdSsiStats::RspUnRdy
int RspUnRdy
Definition:
XrdSsiStats.hh:63
XrdSsiStats::ReqRelBuf
int ReqRelBuf
Definition:
XrdSsiStats.hh:54
XrdSsiStats::ReqCancels
int ReqCancels
Definition:
XrdSsiStats.hh:46
XrdSsiStats::Stats
int Stats(char *buff, int blen)
Definition:
XrdSsiStats.cc:87
XrdSsiStats::ReqAlerts
int ReqAlerts
Definition:
XrdSsiStats.hh:44
XrdSsiStats::RspStrm
int RspStrm
Definition:
XrdSsiStats.hh:62
XrdSsiStats::ReqMaxsz
long long ReqMaxsz
Definition:
XrdSsiStats.hh:41
XrdSsiStats::RspMDBytes
long long RspMDBytes
Definition:
XrdSsiStats.hh:42
XrdSsiStats::SsiErrs
int SsiErrs
Definition:
XrdSsiStats.hh:64
XrdSsiStats::RspFile
int RspFile
Definition:
XrdSsiStats.hh:60
XrdSsiStats::ReqAborts
int ReqAborts
Definition:
XrdSsiStats.hh:43
XrdSsiStats::ReqBound
int ReqBound
Definition:
XrdSsiStats.hh:45
XrdSsiStats::ReqStalls
int ReqStalls
Definition:
XrdSsiStats.hh:55
XrdSsiStats::ReqGets
int ReqGets
Definition:
XrdSsiStats.hh:50
XrdSsiStats::ReqFinished
int ReqFinished
Definition:
XrdSsiStats.hh:49
XrdSsiStats::ReqFinForce
int ReqFinForce
Definition:
XrdSsiStats.hh:48
XrdSsiStats::~XrdSsiStats
~XrdSsiStats()
Definition:
XrdSsiStats.hh:73
XrdSsiStats::ResRems
int ResRems
Definition:
XrdSsiStats.hh:66
XrdSsiStats::RspErrs
int RspErrs
Definition:
XrdSsiStats.hh:59
XrdSsiStats::RspCallBK
int RspCallBK
Definition:
XrdSsiStats.hh:57
XrdSsiStats::RspBad
int RspBad
Definition:
XrdSsiStats.hh:56
XrdSsiStats::setFS
void setFS(XrdSfsFileSystem *fsp)
Definition:
XrdSsiStats.hh:68
XrdSsiStats::ReqCount
int ReqCount
Definition:
XrdSsiStats.hh:47
XrdSsiStats::ReqPrepErrs
int ReqPrepErrs
Definition:
XrdSsiStats.hh:51
XrdSsiStats::XrdSsiStats
XrdSsiStats()
Definition:
XrdSsiStats.cc:49
XrdSsiStats::ReqRedir
int ReqRedir
Definition:
XrdSsiStats.hh:53
XrdSsiStats::ReqBytes
long long ReqBytes
Definition:
XrdSsiStats.hh:40
XrdSsiStats::ReqProcs
int ReqProcs
Definition:
XrdSsiStats.hh:52
XrdSsiStats::RspData
int RspData
Definition:
XrdSsiStats.hh:58
XrdStats
Definition:
XrdStats.hh:52
XrdSsi
XrdSsiStats.hh
Generated by
1.9.1