vg
tools for working with variation graphs
Namespaces | Functions
memusage.hpp File Reference
#include <string>

Namespaces

 vg
 

Functions

string vg::get_proc_status_value (const string &name)
 Get the string value for a field in /proc/self/status by name, or "" if unsupported or not found. More...
 
size_t vg::get_max_rss_kb ()
 Get the max RSS usage ever, in kb, or 0 if unsupported. More...
 
size_t vg::get_max_vmem_kb ()
 Get the max virtual memory size ever, in kb, or 0 if unsupported. More...
 
size_t vg::get_current_vmem_kb ()
 Get the current virtual memory size, in kb, or 0 if unsupported. More...
 

Detailed Description

Defines an interface to /proc/self/status and other status interfaces for debugging.