File indexing completed on 2025-01-18 10:10:40
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT7_REveSystem
0013 #define ROOT7_REveSystem
0014
0015 #include "TSystem.h"
0016 #include <ctime>
0017
0018 #ifdef _MSC_VER
0019 typedef int pid_t;
0020 #endif
0021
0022 namespace ROOT {
0023 namespace Experimental {
0024
0025
0026
0027 struct REveServerStatus
0028 {
0029 pid_t fPid = 0;
0030 int fNConnects = 0;
0031 int fNDisconnects = 0;
0032 std::time_t fTStart = 0;
0033 std::time_t fTLastMir = 0;
0034 std::time_t fTLastConnect = 0;
0035 std::time_t fTLastDisconnect = 0;
0036 ProcInfo_t fProcInfo;
0037 #if defined(_MSC_VER)
0038 std::timespec fTReport = {0, 0};
0039 #else
0040 std::time_t fTReport = 0;
0041 #endif
0042 int n_active_connections() const { return fNConnects - fNDisconnects; }
0043 };
0044
0045 }}
0046
0047 #endif