diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-23 14:18:23 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-23 14:18:23 +0100 |
commit | 47575c7710b2cc14f4b96de71540375e0c1d43b4 (patch) | |
tree | 21c2655bae15224ee98f41612605b202cbc1df3b /lib/intel_os.c | |
parent | f5daeec724aea1613334f14d58b101a5c8e430b4 (diff) |
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 <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/intel_os.c')
-rw-r--r-- | lib/intel_os.c | 12 |
1 files changed, 12 insertions, 0 deletions
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) { |