Logo ROOT  
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
22namespace ROOT {
23namespace Experimental {
24
25// Have to be PODs so we can mem-copy them around or send them via IPC or network.
26
28{
29 pid_t fPid = 0;
30 int fNConnects = 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
43};
44
45}}
46
47#endif
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...