XrdClientReadAhead_slidingavg Class Reference

Inheritance diagram for XrdClientReadAhead_slidingavg:

XrdClientReadAheadMgr List of all members.

Public Member Functions

 XrdClientReadAhead_slidingavg ()
virtual int GetReadAheadHint (long long offset, long len, long long &raoffset, long &ralen, long blksz)
virtual int Reset ()

Protected Attributes

long long RALast
long long LastOffsSum
long long LastOffsSum2
long long LastOffsSumsq
long long LastOffsSumsq2
XrdClientVector< long longLastOffs
XrdClientVector< long longLastAvgApprox
XrdClientVector< long longLastAvgApprox2

Detailed Description

Definition at line 119 of file XrdClientReadAhead.cc.


Constructor & Destructor Documentation

XrdClientReadAhead_slidingavg::XrdClientReadAhead_slidingavg (  )  [inline]

Definition at line 130 of file XrdClientReadAhead.cc.

References LastOffsSum, LastOffsSum2, LastOffsSumsq, LastOffsSumsq2, and RALast.


Member Function Documentation

int XrdClientReadAhead_slidingavg::GetReadAheadHint ( long long  offset,
long  len,
long long raoffset,
long ralen,
long  blksz 
) [virtual]

Implements XrdClientReadAheadMgr.

Definition at line 153 of file XrdClientReadAhead.cc.

References XrdClientVector< T >::Erase(), XrdClientVector< T >::GetSize(), LastAvgApprox, LastAvgApprox2, LastOffs, LastOffsSum, LastOffsSum2, LastOffsSumsq, LastOffsSumsq2, XrdClientVector< T >::Push_back(), RALast, XrdClientReadAheadMgr::RASize, XrdClientReadAheadMgr::TrimReadRequest(), xrdmax, and xrdmin.

virtual int XrdClientReadAhead_slidingavg::Reset ( void   )  [inline, virtual]

Implements XrdClientReadAheadMgr.

Definition at line 140 of file XrdClientReadAhead.cc.

References LastOffsSum, LastOffsSum2, LastOffsSumsq, LastOffsSumsq2, and RALast.


Member Data Documentation

long long XrdClientReadAhead_slidingavg::RALast [protected]

Definition at line 122 of file XrdClientReadAhead.cc.

Referenced by GetReadAheadHint(), Reset(), and XrdClientReadAhead_slidingavg().

long long XrdClientReadAhead_slidingavg::LastOffsSum [protected]

Definition at line 124 of file XrdClientReadAhead.cc.

Referenced by GetReadAheadHint(), Reset(), and XrdClientReadAhead_slidingavg().

long long XrdClientReadAhead_slidingavg::LastOffsSum2 [protected]

Definition at line 124 of file XrdClientReadAhead.cc.

Referenced by GetReadAheadHint(), Reset(), and XrdClientReadAhead_slidingavg().

long long XrdClientReadAhead_slidingavg::LastOffsSumsq [protected]

Definition at line 125 of file XrdClientReadAhead.cc.

Referenced by GetReadAheadHint(), Reset(), and XrdClientReadAhead_slidingavg().

long long XrdClientReadAhead_slidingavg::LastOffsSumsq2 [protected]

Definition at line 125 of file XrdClientReadAhead.cc.

Referenced by GetReadAheadHint(), Reset(), and XrdClientReadAhead_slidingavg().

XrdClientVector<long long> XrdClientReadAhead_slidingavg::LastOffs [protected]

Definition at line 126 of file XrdClientReadAhead.cc.

Referenced by GetReadAheadHint().

XrdClientVector<long long> XrdClientReadAhead_slidingavg::LastAvgApprox [protected]

Definition at line 127 of file XrdClientReadAhead.cc.

Referenced by GetReadAheadHint().

XrdClientVector<long long> XrdClientReadAhead_slidingavg::LastAvgApprox2 [protected]

Definition at line 127 of file XrdClientReadAhead.cc.

Referenced by GetReadAheadHint().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:50:18 2011 for ROOT_528-00b_version by  doxygen 1.5.1