LibDap
This library contains the basic modules that are used in the products of the family DAP
dap_process_memory.h
Go to the documentation of this file.
1 #include <stdint.h>
2 #include <sys/types.h>
3 
4 
5 typedef struct dap_process_memory {
6  size_t vsz; // virtual memory (kb)
7  size_t rss; // physical memory (kb)
9 
10 
16 
dap_process_memory_t get_proc_mem_by_pid(pid_t pid)
get_proc_mem_by_pid Obtain information about the amount of RAM consumed for a particular process ...
Definition: dap_process_memory.c:59
Definition: dap_process_memory.h:5
size_t vsz
Definition: dap_process_memory.h:6
dap_process_memory_t get_proc_mem_current(void)
get_proc_mem_current Get information about the amount of RAM consumed for the current process ...
Definition: dap_process_memory.c:54
struct dap_process_memory dap_process_memory_t
size_t rss
Definition: dap_process_memory.h:7