From 47575c7710b2cc14f4b96de71540375e0c1d43b4 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Sun, 23 Mar 2014 14:18:23 +0100 Subject: lib/igt_aux: api documentation I'm not really happy with the name of the igt_env_set function, I'll follow up with a patch to change it. Signed-off-by: Daniel Vetter --- lib/intel_os.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib/intel_os.c') diff --git a/lib/intel_os.c b/lib/intel_os.c index 3a7397aa..fb9f19cb 100644 --- a/lib/intel_os.c +++ b/lib/intel_os.c @@ -51,6 +51,12 @@ #include "drmtest.h" #include "igt_aux.h" +/** + * intel_get_total_ram_mb: + * + * Returns: + * The total amount of system RAM available in MB. + */ uint64_t intel_get_total_ram_mb(void) { @@ -79,6 +85,12 @@ intel_get_total_ram_mb(void) return retval / (1024*1024); } +/** + * intel_get_total_swap_mb: + * + * Returns: + * The total amount of swap space available in MB. + */ uint64_t intel_get_total_swap_mb(void) { -- cgit v1.2.3