1/*
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 *
6 * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V.
7 */
8
9#ifndef _SYS_H_
10#define _SYS_H_
11
12mal_export str SYSgetmem_cursize(lng *num);
13mal_export str SYSgetmem_maxsize(lng *num);
14mal_export str SYSsetmem_maxsize(void *ret, const lng *num);
15mal_export str SYSgetvm_cursize(lng *num);
16mal_export str SYSgetvm_maxsize(lng *num);
17mal_export str SYSsetvm_maxsize(void *ret, const lng *num);
18mal_export str SYSioStatistics(bat *ret, bat *ret2);
19mal_export str SYScpuStatistics(bat *ret, bat *ret2);
20mal_export str SYSmemStatistics(bat *ret, bat *ret2);
21mal_export str SYSmem_usage(bat *ret, bat *ret2, const lng *minsize);
22mal_export str SYSvm_usage(bat *ret, bat *ret2, const lng *minsize);
23mal_export str SYSgdkEnv(bat *ret, bat *ret2);
24mal_export str SYSgdkThread(bat *ret, bat *ret2);
25
26#endif
27