ROOT
v6-26
Reference Guide
Loading...
Searching...
No Matches
REveSystem.hxx
Go to the documentation of this file.
1
// @(#)root/eve7:$Id$
2
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007, 2018
3
4
/*************************************************************************
5
* Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT7_REveSystem
13
#define ROOT7_REveSystem
14
15
#include "
TSystem.h
"
16
#include <ctime>
17
18
#ifdef _MSC_VER
19
typedef
int
pid_t;
20
#endif
21
22
namespace
ROOT
{
23
namespace
Experimental {
24
25
// Have to be PODs so we can mem-copy them around or send them via IPC or network.
26
27
struct
REveServerStatus
28
{
29
pid_t
fPid
= 0;
30
int
fNConnects
= 0;
31
int
fNDisconnects
= 0;
32
std::time_t
fTStart
= 0;
33
std::time_t
fTLastMir
= 0;
34
std::time_t
fTLastConnect
= 0;
35
std::time_t
fTLastDisconnect
= 0;
36
ProcInfo_t
fProcInfo
;
// To be complemented with cpu1/5/15 and memgrowth1/5/15 on the collector side.
37
#if defined(_MSC_VER)
38
std::timespec
fTReport
= {0, 0};
39
#else
40
std::time_t
fTReport
= 0;
41
#endif
42
int
n_active_connections
()
const
{
return
fNConnects
-
fNDisconnects
; }
43
};
44
45
}}
46
47
#endif
TSystem.h
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition
EExecutionPolicy.hxx:4
ProcInfo_t
Definition
TSystem.h:192
ROOT::Experimental::REveServerStatus
Definition
REveSystem.hxx:28
ROOT::Experimental::REveServerStatus::fTLastMir
std::time_t fTLastMir
Definition
REveSystem.hxx:33
ROOT::Experimental::REveServerStatus::fPid
pid_t fPid
Definition
REveSystem.hxx:29
ROOT::Experimental::REveServerStatus::fTStart
std::time_t fTStart
Definition
REveSystem.hxx:32
ROOT::Experimental::REveServerStatus::fTLastDisconnect
std::time_t fTLastDisconnect
Definition
REveSystem.hxx:35
ROOT::Experimental::REveServerStatus::fTLastConnect
std::time_t fTLastConnect
Definition
REveSystem.hxx:34
ROOT::Experimental::REveServerStatus::fProcInfo
ProcInfo_t fProcInfo
Definition
REveSystem.hxx:36
ROOT::Experimental::REveServerStatus::n_active_connections
int n_active_connections() const
Definition
REveSystem.hxx:42
ROOT::Experimental::REveServerStatus::fNConnects
int fNConnects
Definition
REveSystem.hxx:30
ROOT::Experimental::REveServerStatus::fNDisconnects
int fNDisconnects
Definition
REveSystem.hxx:31
ROOT::Experimental::REveServerStatus::fTReport
std::time_t fTReport
Definition
REveSystem.hxx:40
graf3d
eve7
inc
ROOT
REveSystem.hxx
ROOT v6-26 - Reference Guide Generated on Mon Sep 11 2023 21:02:23 (GVA Time) using Doxygen 1.9.8