Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SysProcStat.h
Go to the documentation of this file.
1 /*
2  * SysProcStat.h
3  *
4  * Created on: Jul 6, 2012
5  * Author: Ivan Valencik
6  */
7 
8 #ifndef SYSPROCSTAT_H_
9 #define SYSPROCSTAT_H_
10 
11 namespace Gaudi {
12  class SysProcStat {
13 
14  public:
19  char comm[128], state;
20 
21  long time;
22 
23  SysProcStat();
24  virtual ~SysProcStat() = default;
25 
26  // updates the values by calling /proc/self/stat
27  virtual int update();
28  };
29 } // namespace Gaudi
30 #endif /* SYSPROCSTAT_H_ */
long unsigned sigingore
Definition: SysProcStat.h:16
long unsigned stime
Definition: SysProcStat.h:16
long unsigned startcode
Definition: SysProcStat.h:16
long unsigned sigcatch
Definition: SysProcStat.h:16
long unsigned blocked
Definition: SysProcStat.h:16
long unsigned cminflt
Definition: SysProcStat.h:16
long unsigned nswap
Definition: SysProcStat.h:16
long unsigned majflt
Definition: SysProcStat.h:16
long unsigned minflt
Definition: SysProcStat.h:16
long int itrealvalue
Definition: SysProcStat.h:18
long unsigned kstkeip
Definition: SysProcStat.h:16
long unsigned wchan
Definition: SysProcStat.h:16
long unsigned vsize
Definition: SysProcStat.h:16
virtual int update()
Definition: SysProcStat.cpp:19
long unsigned cnswap
Definition: SysProcStat.h:16
long unsigned cmajflt
Definition: SysProcStat.h:16
long unsigned signal
Definition: SysProcStat.h:16
long unsigned utime
Definition: SysProcStat.h:16
long unsigned kstkesp
Definition: SysProcStat.h:16
long unsigned startstack
Definition: SysProcStat.h:16
long unsigned rlim
Definition: SysProcStat.h:16
long unsigned flags
Definition: SysProcStat.h:16
Helper functions to set/get the application return code.
Definition: __init__.py:1
long unsigned startime
Definition: SysProcStat.h:16
long int num_threads
Definition: SysProcStat.h:18
long unsigned endcode
Definition: SysProcStat.h:16
virtual ~SysProcStat()=default