XRootD
Loading...
Searching...
No Matches
XrdPfc::Info::AStat Struct Reference

Access statistics. More...

#include <XrdPfcInfo.hh>

Collaboration diagram for XrdPfc::Info::AStat:

Public Member Functions

 AStat ()
void MergeWith (const AStat &a)

Public Attributes

time_t AttachTime
 open time
long long BytesBypassed
 read from remote and dropped
long long BytesHit
 read from cache
long long BytesMissed
 read from remote and cached
time_t DetachTime
 close time
int Duration
 total duration of all IOs attached
int NumIos
 number of IO objects attached during this access
int NumMerged
 number of times the record has been merged
int Reserved
 reserved / alignment

Detailed Description

Access statistics.

Definition at line 60 of file XrdPfcInfo.hh.

Constructor & Destructor Documentation

◆ AStat()

XrdPfc::Info::AStat::AStat ( )
inline

Definition at line 72 of file XrdPfcInfo.hh.

72 :
75 {}
long long BytesHit
read from cache
Definition XrdPfcInfo.hh:68
long long BytesBypassed
read from remote and dropped
Definition XrdPfcInfo.hh:70
int Duration
total duration of all IOs attached
Definition XrdPfcInfo.hh:65
int Reserved
reserved / alignment
Definition XrdPfcInfo.hh:67
int NumIos
number of IO objects attached during this access
Definition XrdPfcInfo.hh:64
time_t DetachTime
close time
Definition XrdPfcInfo.hh:63
long long BytesMissed
read from remote and cached
Definition XrdPfcInfo.hh:69
time_t AttachTime
open time
Definition XrdPfcInfo.hh:62
int NumMerged
number of times the record has been merged
Definition XrdPfcInfo.hh:66

References AttachTime, BytesBypassed, BytesHit, BytesMissed, DetachTime, Duration, NumIos, NumMerged, and Reserved.

Member Function Documentation

◆ MergeWith()

void Info::AStat::MergeWith ( const AStat & a)

Definition at line 368 of file XrdPfcInfo.cc.

369{
370 // Access in b assumed to happen after the one in this.
371
372 DetachTime = b.DetachTime;
373 NumIos += b.NumIos;
374 Duration += b.Duration;
375 NumMerged += b.NumMerged + 1;
376 BytesHit += b.BytesHit;
377 BytesMissed += b.BytesMissed;
378 BytesBypassed += b.BytesBypassed;
379}

References BytesBypassed, BytesHit, BytesMissed, DetachTime, Duration, NumIos, and NumMerged.

Member Data Documentation

◆ AttachTime

time_t XrdPfc::Info::AStat::AttachTime

◆ BytesBypassed

long long XrdPfc::Info::AStat::BytesBypassed

read from remote and dropped

Definition at line 70 of file XrdPfcInfo.hh.

Referenced by AStat(), and MergeWith().

◆ BytesHit

long long XrdPfc::Info::AStat::BytesHit

read from cache

Definition at line 68 of file XrdPfcInfo.hh.

Referenced by AStat(), MergeWith(), XrdPfc::Info::WriteIOStatSingle(), and XrdPfc::Info::WriteIOStatSingle().

◆ BytesMissed

long long XrdPfc::Info::AStat::BytesMissed

read from remote and cached

Definition at line 69 of file XrdPfcInfo.hh.

Referenced by AStat(), and MergeWith().

◆ DetachTime

◆ Duration

int XrdPfc::Info::AStat::Duration

total duration of all IOs attached

Definition at line 65 of file XrdPfcInfo.hh.

Referenced by AStat(), XrdPfc::Info::GetLatestDetachTime(), MergeWith(), and XrdPfc::Info::WriteIOStatSingle().

◆ NumIos

int XrdPfc::Info::AStat::NumIos

number of IO objects attached during this access

Definition at line 64 of file XrdPfcInfo.hh.

Referenced by AStat(), MergeWith(), XrdPfc::Info::WriteIOStatSingle(), and XrdPfc::Info::WriteIOStatSingle().

◆ NumMerged

int XrdPfc::Info::AStat::NumMerged

number of times the record has been merged

Definition at line 66 of file XrdPfcInfo.hh.

Referenced by AStat(), and MergeWith().

◆ Reserved

int XrdPfc::Info::AStat::Reserved

reserved / alignment

Definition at line 67 of file XrdPfcInfo.hh.

Referenced by AStat().


The documentation for this struct was generated from the following files: