summaryrefslogtreecommitdiffstats
path: root/freebsd/lib/libmemstat/memstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib/libmemstat/memstat.c')
-rw-r--r--freebsd/lib/libmemstat/memstat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/freebsd/lib/libmemstat/memstat.c b/freebsd/lib/libmemstat/memstat.c
index 536b47fb..e7e7d53f 100644
--- a/freebsd/lib/libmemstat/memstat.c
+++ b/freebsd/lib/libmemstat/memstat.c
@@ -256,6 +256,13 @@ memstat_get_size(const struct memory_type *mtp)
}
uint64_t
+memstat_get_rsize(const struct memory_type *mtp)
+{
+
+ return (mtp->mt_rsize);
+}
+
+uint64_t
memstat_get_memalloced(const struct memory_type *mtp)
{