4 #ifndef LINUX_PROCESS_INFO_H 5 #define LINUX_PROCESS_INFO_H 13 namespace process_info
jiffies_t stime
Total time spent in kernel space.
bool readStatFile(const char *filename, ProcessStat *stat)
std::size_t page_size()
Kernel page size.
unsigned long jiffies_t
A time value counted in kernel jiffies.
jiffies_t utime
Total time spent in userspace.
jiffies_t kernel_hz()
Number of kernel jiffies per second.
std::size_t mem_rss
Resident memory size in bytes.
unsigned long pgrp
Process group ID.