xrootd
Loading...
Searching...
No Matches
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
32#include "XrdOuc/XrdOucStats.hh"
33
35class XrdStats;
36
38{
39public:
40long long ReqBytes; // Stats: Number of requests bytes total
41long long ReqMaxsz; // Stats: Number of requests largest size
42long long RspMDBytes; // Stats: Number of metada response bytes
43int ReqAborts; // Stats: Number of request aborts
44int ReqAlerts; // Stats: Number of request alerts
45int ReqBound; // Stats: Number of requests bound
46int ReqCancels; // Stats: Number of request Finished()+cancel
47int ReqCount; // Stats: Number of requests (total)
48int ReqFinForce; // Stats: Number of request Finished()+forced
49int ReqFinished; // Stats: Number of request Finished()
50int ReqGets; // Stats: Number of requests -> GetRequest()
51int ReqPrepErrs; // Stats: Number of request prepare errors
52int ReqProcs; // Stats: Number of requests -> ProcessRequest()
53int ReqRedir; // Stats: Number of request redirects
54int ReqRelBuf; // Stats: Number of request -> RelRequestBuff()
55int ReqStalls; // Stats: Number of request stalls
56int RspBad; // Stats: Number of invalid responses
57int RspCallBK; // Stats: Number of request callbacks
58int RspData; // Stats: Number of data responses
59int RspErrs; // Stats: Number of error responses
60int RspFile; // Stats: Number of file responses
61int RspReady; // Stats: Number of ready responses
62int RspStrm; // Stats: Number of stream responses
63int RspUnRdy; // Stats: Number of unready responses
64int SsiErrs; // Stats: Number of SSI detected errors
65int ResAdds; // Stats: Number of resource additions
66int ResRems; // Stats: Number of resource removals
67
68void setFS(XrdSfsFileSystem *fsp) {fsP = fsp;}
69
70int Stats(char *buff, int blen);
71
74private:
75
77};
78#endif
Definition XrdOucStats.hh:44
Definition XrdSfsInterface.hh:845
Definition XrdSsiStats.hh:38
int RspReady
Definition XrdSsiStats.hh:61
int ResAdds
Definition XrdSsiStats.hh:65
int RspUnRdy
Definition XrdSsiStats.hh:63
int ReqRelBuf
Definition XrdSsiStats.hh:54
int ReqCancels
Definition XrdSsiStats.hh:46
int Stats(char *buff, int blen)
int ReqAlerts
Definition XrdSsiStats.hh:44
int RspStrm
Definition XrdSsiStats.hh:62
long long ReqMaxsz
Definition XrdSsiStats.hh:41
long long RspMDBytes
Definition XrdSsiStats.hh:42
int SsiErrs
Definition XrdSsiStats.hh:64
int RspFile
Definition XrdSsiStats.hh:60
int ReqAborts
Definition XrdSsiStats.hh:43
int ReqBound
Definition XrdSsiStats.hh:45
int ReqStalls
Definition XrdSsiStats.hh:55
int ReqGets
Definition XrdSsiStats.hh:50
XrdSfsFileSystem * fsP
Definition XrdSsiStats.hh:76
int ReqFinished
Definition XrdSsiStats.hh:49
int ReqFinForce
Definition XrdSsiStats.hh:48
~XrdSsiStats()
Definition XrdSsiStats.hh:73
int ResRems
Definition XrdSsiStats.hh:66
int RspErrs
Definition XrdSsiStats.hh:59
int RspCallBK
Definition XrdSsiStats.hh:57
int RspBad
Definition XrdSsiStats.hh:56
void setFS(XrdSfsFileSystem *fsp)
Definition XrdSsiStats.hh:68
int ReqCount
Definition XrdSsiStats.hh:47
int ReqPrepErrs
Definition XrdSsiStats.hh:51
int ReqRedir
Definition XrdSsiStats.hh:53
long long ReqBytes
Definition XrdSsiStats.hh:40
int ReqProcs
Definition XrdSsiStats.hh:52
int RspData
Definition XrdSsiStats.hh:58
Definition XrdStats.hh:52