File indexing completed on 2024-04-06 12:31:53
0001 #ifndef Utilities_XrdAdaptor_XrdStatistics_h
0002 #define Utilities_XrdAdaptor_XrdStatistics_h
0003
0004 #include <vector>
0005 #include <string>
0006 #include <chrono>
0007
0008 namespace xrd_adaptor {
0009
0010 class XrdStatistics {
0011 public:
0012 XrdStatistics() {}
0013 virtual ~XrdStatistics();
0014
0015 struct CondorIOStats {
0016 uint64_t bytesRead{0};
0017 std::chrono::nanoseconds transferTime{0};
0018 };
0019
0020
0021
0022
0023
0024 virtual std::vector<std::pair<std::string, CondorIOStats>> condorUpdate() = 0;
0025 };
0026
0027 }
0028
0029 #endif