Namespaces | Functions | Variables
linux_process_info.cpp File Reference
#include "linux_process_info.h"
#include <unistd.h>
#include <cstdio>
#include <cstring>
#include <fmt/format.h>
Include dependency graph for linux_process_info.cpp:

Go to the source code of this file.

Namespaces

 rosmon
 
 rosmon::monitor
 
 rosmon::monitor::process_info
 

Functions

jiffies_t rosmon::monitor::process_info::kernel_hz ()
 Number of kernel jiffies per second. More...
 
std::size_t rosmon::monitor::process_info::page_size ()
 Kernel page size. More...
 
bool rosmon::monitor::process_info::readStatFile (const char *filename, ProcessStat *stat)
 

Variables

static jiffies_t rosmon::monitor::process_info::g_kernel_hz = -1
 
static std::size_t rosmon::monitor::process_info::g_page_size = -1
 


rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12