host_memory_info.h
Go to the documentation of this file.
/*
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
Copyright (C) 2022 The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/
#ifndef MEMORY_INFO_H
#define MEMORY_INFO_H
#include "int_sizes.h"
int host_memory_info_get(UINT64_T * avail, UINT64_T * total);
int host_memory_usage_get(UINT64_T * rss, UINT64_T * total);
#endif
host_memory_info_get
int host_memory_info_get(UINT64_T *avail, UINT64_T *total)
Get current memory status.
host_memory_usage_get
int host_memory_usage_get(UINT64_T *rss, UINT64_T *total)
Get current memory usage by this process.