| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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:
15
16 int pid, ppid, pgrp, session, tty_nr, tpgid, exit_signal, processor;
17 long unsigned flags, minflt, cminflt, majflt, cmajflt, utime, stime,
18 startime, vsize, rlim, startcode, endcode, startstack, kstkesp,
19 kstkeip, signal, blocked, sigingore, sigcatch, wchan, nswap, cnswap;
20 long int cutime, cstime, priority, nice, num_threads, itrealvalue, rss;
21 char comm[128], state;
22
23 long time;
24
25 SysProcStat();
26 virtual ~SysProcStat();
27
28 // updates the values by calling /proc/self/stat
29 virtual int update();
30
31 };
32 }
33 #endif /* SYSPROCSTAT_H_ */