wlmaker
Loading...
Searching...
No Matches
memgraph_state_t Struct Reference

Public Attributes

FILE * proc_fp
unsigned long mem_total_kb
unsigned long mem_used_kb
char label [LABEL_BUFFER_SIZE]

Detailed Description

State for the memory graph (mutable runtime data).

Member Data Documentation

◆ label

char memgraph_state_t::label[LABEL_BUFFER_SIZE]

Formatted label string.

◆ mem_total_kb

unsigned long memgraph_state_t::mem_total_kb

Total memory in kB (from /proc/meminfo).

◆ mem_used_kb

unsigned long memgraph_state_t::mem_used_kb

Used memory in kB (non-reclaimable).

◆ proc_fp

FILE* memgraph_state_t::proc_fp

Open file handle to /proc/meminfo.


The documentation for this struct was generated from the following file: