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>
This commit is contained in:
Daniel Vetter
2014-03-23 14:18:23 +01:00
parent f5daeec724
commit 47575c7710
3 changed files with 139 additions and 3 deletions
+12
View File
@@ -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)
{